Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
What version of Samba are running?
I had the same problem and it is tedious to get it fix.
Also you might want to look at some documentation about Vendow$ joining a Linux Domain- www.samba.org
There is some very good documentation.
When I get home today I will post a copy of my smb.conf that I am currently using- it not 100 % perfect but I can login to the Domain ok.
Go ahead save your sm.conf file for now. Download Samba 3.0beta2 RPM from www.samba.org
But before installing it REMOVE 2.2.7a completly.
Then reinstall 3.0.
Try your smb.conf file see if by cance it might help you working(most likely not).
Maybe by that time I will be home and can send you example file of my smb.conf to help you out.
You are not out of the woods yet.
You also need to read the Documentation that comes with Samba 3 it has so much good information about making sure Samba will work for you. You will find it after extrac the RPM. By the way this documentation is really good reading and easy to understand not that M$ crap.
OK I will change the netbios so it is differant from the workgroup.
I did the sambaadduser. put in the user name and their passwds.
I am using Windows2K pro as my windows clients.
The samba is working for sharing and accessing files. I just cannot get the windows machines to authenticate using it as a domain controller, so that if i want to login on the machine next to me I do not have to a user added to that machine, the network authenticates me and logs me in.
Yes it is in beta I reliaze that - but one thing for sure it works.
I fought 2.2.7a for days on end and it was useless for some reason.
I had someone who works very closely with the Samba team help me get this going that is why recommend 3.
You do realize when it gets to b2 that it is on the verge of full relelase. My guess its that the full one will be relased by September or Oct at latest.
I will post a copy of my SMB.Conf file if anyone is intersted.
[printers]
comment = All Printers
path = /var/spool/samba
guest ok = Yes
printable = Yes
browseable = No
[public]
comment = A public share for vendor docs, etc.
path = /usr/public
read only = No
create mask = 0755
force directory mode = 0755
guest ok = Yes
[temp]
comment = A place to drop off temporary files
path = /tmp
read only = No
create mask = 0755
force directory mode = 0755
guest ok = Yes
[docs]
comment = Main Document Share for important Corporate Documents
path = /doc
read only = No
create mask = 0755
force directory mode = 0755
guest ok = Yes
[homes]
comment = Home directories
valid users = %S
read only = No
create mask = 0755
browseable = No
[profiles]
comment = User Profiles (change path as needed)
path = /var/spool/profiles
read only = No
profile acls = Yes
Remember to delete the old samba completly.
Then install 3
Look up the command to check your version to make sure you are running 3
I have it now connecting and logging into the domain but it
says cannot create profile directory when I login to the machine.
I had not added the machines to samba yet. oops.
Also when you change a machine over to use a domain it is asking for the user with permissions to join the domain. Should there be just one or what is this for.
OK I can now get the machines to join the domain but I cannot login to the machine, Its says domain not found.
I think it should do this below but I am not for sure.
-------------------------
plus if I setup the machine to logon to the Domain, then just login using the local machine settings instead of the Domain, It will not see the network of computers but it can browse the Internet.
--------------------------------
All the computesr not set to the domain yet can access the samba shared files.
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775
# If you want users samba doesn't recognize to be mapped to a guest user
; map to guest = bad user
# Un-comment the following and create the netlogon directory for Domain Logons
[netlogon]
comment = Network Logon Service
path = /etc/samba/netlogon
guest ok = yes
writable = no
share modes = no
# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
[Profiles]
path = /etc/samba/profiles
browseable = no
guest ok = yes
profile acls = yes
read only = No
Can anyone tell me what I am doing wrong here.
Last edited by jchristman; 07-16-2003 at 08:19 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.