Results 1 to 5 of 5
I am trying to come up with a solution for a fileserver which will cost my employer very little. So thought of using Linux
So i've installed Fedora Core2 onto ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-14-2004 #1Just Joined!
- Join Date
- Sep 2004
- Posts
- 5
Samba server authentication?
I am trying to come up with a solution for a fileserver which will cost my employer very little. So thought of using Linux
So i've installed Fedora Core2 onto an old PC and setup Samba. Btw i don't have any kind of GUI, just using the CLI. Not got Gnome or any XWindows installed.
I've got Samba up and running on our NT Domain. I added a user to the system, then did a "# smbpasswd -a test". The username works fine, i can map a drive from a windows PC to the home folder for "test" on my samba server.
But what i would like to do is match up a username with a username on the Windows Domain. Eg: Username "Some geezer".
But am i right in thinking Linux won't allow a username to have a space?
- 09-14-2004 #2Linux User
- Join Date
- Jan 2003
- Location
- Cardiff, Wales
- Posts
- 478
stuff
you can use the user maps parameter to set a file listing the linux name along side the other versions which include spaces etc.
Is this enough info? if you can't find the exact parameter let me know and I'll dig my samba book out.
cheers
KrisNo trees were harmed during the creation of this message. Its made from a blend of elephant tusk and dolphin meat.
- 09-17-2004 #3Just Joined!
- Join Date
- Sep 2004
- Posts
- 5
Re: stuff
Thnx for the reply. But i've kinda left this for now, i'm gonna use a totally seperate username/password, authenticated on my FC2 box.
Originally Posted by kpzani
But i've got a bigger problem i'm trying to solve. I get a 25 second delay opening files on windows client pc's from the smb server, then there's the same delay again saving the files.
I think it's summit to do with WINS, got a couple of NT4 WINS servers and DNS servers on the domain, but still stuck
- 09-17-2004 #4Linux User
- Join Date
- Jan 2003
- Location
- Cardiff, Wales
- Posts
- 478
odd
that's odd. anything in the logs?
No trees were harmed during the creation of this message. Its made from a blend of elephant tusk and dolphin meat.
- 09-17-2004 #5Just Joined!
- Join Date
- Sep 2004
- Posts
- 5
I've setup my samba.conf with:
Got this in the nmdb.log:Code:name resolve order = wins lmhosts bcast ; wins support = yes wins server = 10.12.1.2 ; wins proxy = yes dns proxy = yes
The other logs seem to either be empty or just show the status of the services started and stopping. I have also tried changing:Code:[2004/09/15 17:11:07, 0] nmbd/nmbd.c:main(665) Netbios nameserver version 3.0.3-5 started. Copyright Andrew Tridgell and the Samba Team 1994-2004 [2004/09/15 17:11:07, 0] nmbd/nmbd_nameregister.c:register_name_response(130) register_name_response: WINS server at IP 10.12.1.2 rejected our name registration of FEDORACORE2<20> IP 10.12.200.1 with error code 6. [2004/09/15 17:11:07, 0] nmbd/nmbd_mynames.c:my_name_register_failed(36) my_name_register_failed: Failed to register my name FEDORACORE2<20> on subnet UNICAST_SUBNET. [2004/09/15 17:11:07, 0] nmbd/nmbd_namelistdb.c:standard_fail_register(283) standard_fail_register: Failed to register/refresh name FEDORACORE2<20> on subnet UNICAST_SUBNET [2004/09/15 17:11:07, 0] nmbd/nmbd_nameregister.c:register_name_response(130) register_name_response: WINS server at IP 10.12.1.2 rejected our name registration of FEDORACORE2<03> IP 10.12.200.1 with error code 6. [2004/09/15 17:11:07, 0] nmbd/nmbd_mynames.c:my_name_register_failed(36) my_name_register_failed: Failed to register my name FEDORACORE2<03> on subnet UNICAST_SUBNET. [2004/09/15 17:11:07, 0] nmbd/nmbd_namelistdb.c:standard_fail_register(283) standard_fail_register: Failed to register/refresh name FEDORACORE2<03> on subnet UNICAST_SUBNET [2004/09/15 17:11:07, 0] nmbd/nmbd_nameregister.c:register_name_response(130) register_name_response: WINS server at IP 10.12.1.2 rejected our name registration of FEDORACORE2<00> IP 10.12.200.1 with error code 6. [2004/09/15 17:11:08, 0] nmbd/nmbd_mynames.c:my_name_register_failed(36) my_name_register_failed: Failed to register my name FEDORACORE2<00> on subnet UNICAST_SUBNET. [2004/09/15 17:11:08, 0] nmbd/nmbd_namelistdb.c:standard_fail_register(283) standard_fail_register: Failed to register/refresh name FEDORACORE2<00> on subnet UNICAST_SUBNET
and rebooted/restart samba, still got same probCode:wins support = yes ;wins server = 10.12.1.2

Is there any other daemon/service i should be checking apart from smbd & nmbd?


Reply With Quote
