LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   samba as a domain controller (https://www.linuxquestions.org/questions/linux-networking-3/samba-as-a-domain-controller-5536/)

ilumin8d 08-17-2001 12:18 PM

samba as a domain controller
 
I have samba running on a SuSE 7.1 installation as a primary NT domain controller and wins server for some windows 98 clients. I have created trust accounts for the machines and user accounts for the users.

I have configured my windows 98 clients to log in to the NT domain and they do so fine. The shares are accessible and everything works, but every time a user logs in he has to wait while his account is created (according to windows) and necessary files are copied accross. Is this delay normal? I am also unable to obtain a list of users from samba when I try to add users to a new share on a win98 box.

Any ideas as to what a. is happening, and b. might cause such a problem.

thanks.

te_conway 08-17-2001 12:52 PM

If I remember correctly I had this problem too. When you have users who can modify their own settings you have setup a roving profiles directory.

[Global]
logon home = /home/samba/profiles/%U

Roving profiles are a royal pain because of hardware inconsistencies. Don't use them unless ALL you clients are identical. I created the above directory as ROOT so nothing is written to the directory, hence nothing is read either.

It works like a charm.

-Tom

ilumin8d 08-17-2001 01:11 PM

that worked a treat on the creating user profile thing, cut it down to practically nil. thanks, but any ideas on the not being able to get a list of users thing when setting up a share on a win98 directory?

te_conway 08-17-2001 01:37 PM

I'm not sure what your asking so I probably don't know the answer. Why would you need a list of users and where would you expect to see them?

Are you adding users to a write list under the share?

-tom

ps: you mentioned you created trust accounts for your machines. I didn't take that step. What is the purpose and how do you create them?

ilumin8d 08-17-2001 02:12 PM

im trying to add users and access rights to a share on a windows machine and windows itself is supposed to be able to obtain a list of users from the domain controller.

trust accounts that exist between each computer on an NT network and the PDC. they are how the computers authenticate themselves on the PDC.

to add them you need to first create a user on the machine running samba. the username must be the name of the computer the account is for followed by a $. under SuSE your supposed to be able to do

useradd -m <name>

but this didnt work so i had to do

useradd -u <uid> -g <gid> <name>$

set no password then do

smb -a -m <name> -- no $ here, it will add it for you.

and thats it as far as I recall.

ilumin8d 08-17-2001 02:15 PM

oh yeah, NT does things a bit different to unix, set gid to something high like 800 (dont forget to make group 800) and make the machine trust accounts start at uid 801.

te_conway 08-17-2001 02:25 PM

I see what you mean. NT does that, I didn't realize Win98 could or Samba had the capability. I have a good book at home (Samba Server Admin) that I can look into.
I've setup all my shares on my Linux box. I don't share anything from one desktop to another. That's a peer to peer thing. Unless you keep your win98 PC's on all the time it isn't much good and it slows down the user if someone accesses the share while they are working. It's sorta the reason I ditched my win98 net for Linux.

good luck, tom

cacique 04-22-2003 09:04 AM

i need to setup a PDC on my Redhat server, I do not understand much like doing it since I am novice.
but I was seeing on doing with samba to which some they say to me that OpenLDAP implements.

Sorry by my ingles, I hope that they can help me to do it

Santiago
smartinez@steinbranding.com

jamrock 04-23-2003 10:37 PM

Cacique,

Try the following links:

http://www-1.ibm.com/servers/esdd/tu...mba/index.html


http://networking.earthweb.com/netos...le.php/1144701

http://networking.earthweb.com/netos...le.php/1151091

cacique 04-29-2003 12:55 PM

THANKS!!!!!


All times are GMT -5. The time now is 08:18 AM.