Find the answer to your Linux question:
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.
  1. #1
    Just 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?

  2. #2
    Linux 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

    Kris
    No trees were harmed during the creation of this message. Its made from a blend of elephant tusk and dolphin meat.

  3. #3
    Just Joined!
    Join Date
    Sep 2004
    Posts
    5

    Re: stuff

    Quote Originally Posted by kpzani
    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

    Kris
    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.

    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

  4. $spacer_open
    $spacer_close
  5. #4
    Linux 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.

  6. #5
    Just Joined!
    Join Date
    Sep 2004
    Posts
    5
    I've setup my samba.conf with:
    Code:
    name resolve order = wins lmhosts bcast
    ; wins support = yes
    wins server = 10.12.1.2
    ; wins proxy = yes
    dns proxy = yes
    Got this in the nmdb.log:
    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.
    
    &#91;2004/09/15 17&#58;11&#58;07, 0&#93; nmbd/nmbd_mynames.c&#58;my_name_register_failed&#40;36&#41;
    my_name_register_failed&#58; Failed to register my name FEDORACORE2<20> on subnet UNICAST_SUBNET.
    
    &#91;2004/09/15 17&#58;11&#58;07, 0&#93; nmbd/nmbd_namelistdb.c&#58;standard_fail_register&#40;283&#41;
    standard_fail_register&#58; Failed to register/refresh name FEDORACORE2<20> on subnet UNICAST_SUBNET
    
    &#91;2004/09/15 17&#58;11&#58;07, 0&#93; nmbd/nmbd_nameregister.c&#58;register_name_response&#40;130&#41;
    register_name_response&#58; WINS server at IP 10.12.1.2
    rejected our name registration of FEDORACORE2<03> IP 10.12.200.1 with error code 6.
    
    &#91;2004/09/15 17&#58;11&#58;07, 0&#93; nmbd/nmbd_mynames.c&#58;my_name_register_failed&#40;36&#41;
    my_name_register_failed&#58; Failed to register my name FEDORACORE2<03> on subnet UNICAST_SUBNET.
    
    &#91;2004/09/15 17&#58;11&#58;07, 0&#93; nmbd/nmbd_namelistdb.c&#58;standard_fail_register&#40;283&#41;
    standard_fail_register&#58; Failed to register/refresh name FEDORACORE2<03> on subnet UNICAST_SUBNET
    
    &#91;2004/09/15 17&#58;11&#58;07, 0&#93; nmbd/nmbd_nameregister.c&#58;register_name_response&#40;130&#41;
    register_name_response&#58; WINS server at IP 10.12.1.2
    rejected our name registration of FEDORACORE2<00> IP 10.12.200.1 with error code 6.
    
    &#91;2004/09/15 17&#58;11&#58;08, 0&#93; nmbd/nmbd_mynames.c&#58;my_name_register_failed&#40;36&#41;
    my_name_register_failed&#58; Failed to register my name FEDORACORE2<00> on subnet UNICAST_SUBNET.
    
    &#91;2004/09/15 17&#58;11&#58;08, 0&#93; nmbd/nmbd_namelistdb.c&#58;standard_fail_register&#40;283&#41;
    standard_fail_register&#58; Failed to register/refresh name FEDORACORE2<00> on subnet UNICAST_SUBNET
    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:
    wins support = yes
    ;wins server = 10.12.1.2
    and rebooted/restart samba, still got same prob

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •