LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-17-2001, 12:18 PM   #1
ilumin8d
LQ Newbie
 
Registered: Aug 2001
Posts: 13

Rep: Reputation: 0
Question 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.
 
Old 08-17-2001, 12:52 PM   #2
te_conway
Member
 
Registered: Apr 2001
Location: MA
Distribution: redhat 7.2
Posts: 182

Rep: Reputation: 30
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
 
Old 08-17-2001, 01:11 PM   #3
ilumin8d
LQ Newbie
 
Registered: Aug 2001
Posts: 13

Original Poster
Rep: Reputation: 0
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?
 
Old 08-17-2001, 01:37 PM   #4
te_conway
Member
 
Registered: Apr 2001
Location: MA
Distribution: redhat 7.2
Posts: 182

Rep: Reputation: 30
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?
 
Old 08-17-2001, 02:12 PM   #5
ilumin8d
LQ Newbie
 
Registered: Aug 2001
Posts: 13

Original Poster
Rep: Reputation: 0
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.
 
Old 08-17-2001, 02:15 PM   #6
ilumin8d
LQ Newbie
 
Registered: Aug 2001
Posts: 13

Original Poster
Rep: Reputation: 0
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.
 
Old 08-17-2001, 02:25 PM   #7
te_conway
Member
 
Registered: Apr 2001
Location: MA
Distribution: redhat 7.2
Posts: 182

Rep: Reputation: 30
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
 
Old 04-22-2003, 09:04 AM   #8
cacique
LQ Newbie
 
Registered: Apr 2003
Distribution: RedHat
Posts: 2

Rep: Reputation: 0
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
 
Old 04-23-2003, 10:37 PM   #9
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
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
 
Old 04-29-2003, 12:55 PM   #10
cacique
LQ Newbie
 
Registered: Apr 2003
Distribution: RedHat
Posts: 2

Rep: Reputation: 0
THANKS!!!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
samba domain controller Red Squirrel Linux - Software 17 07-16-2005 09:30 AM
samba as a domain controller paul_mat Linux - Networking 1 02-08-2005 11:43 AM
help with new samba domain controller bladrag Linux - Networking 5 05-04-2004 09:52 PM
Samba as a Domain Controller mfeoli Linux - Networking 0 01-13-2004 09:32 AM
samba as a domain controller elements Linux - Networking 1 01-02-2004 06:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration