Home Forums OS X Server and Client Discussion Questions and Answers X serve woes PDC+ samba

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #358254
    Anonymous
    Participant

    hi,

    i am trying to setup a PDC with our xserve, but it is being a bit of a pain

    the main problem i am having atm, is

    [code:1:2d64913e6b]
    smbpasswd -a bob
    [/code:1:2d64913e6b]
    this works fine, but when i go to add the machine with

    [code:1:2d64913e6b]
    smbpasswd -a -m bob
    [/code:1:2d64913e6b]

    i get this error
    [code:1:2d64913e6b]
    User bob$ does not exist in system password file (usually /etc/passwd). Cannot add account without a valid local system user.
    Failed to modify password entry for user bob$
    [/code:1:2d64913e6b]

    so i figure i can manually add the details using vipw which loads /etc/passwd
    but upon inspecting that file, non of the users who have accounts on the xserve are listed in this file, which i find very strange as this is where they are meant to be. I am aware this is not a linux system but it certainly behaves odly

    so i was wondering where are these details kept and how do i go about adding the correct details for samba ?? i can’t use the GUI tools becasue i am remotley logged in from a windows terminal This is really annoying me now, please help

    server info:

    os x .3 panther
    running darwin kernel 7.4.0
    samba version 2.2.8a

    thanks for your help in this matter

    #358256
    Anonymous
    Participant

    Open Directory doesn’t use /etc/passwrd it uses the LDAP database. You need to add those users through the Workgroup Manager GUI. I haven’t gotten that far yet trying to set up our Xserve as a PDC but I don’t think you even need to use the command-line stuff at all. From what I’ve read everything should work, including the PDC, if you use the GUI for adding users. Adding machines is a different tab on the GUI. You should have tabs for (left to right) Users, Groups and then Machines.

    #358257
    Anonymous
    Participant

    we aren’t using LDAP, it has been disabled because we were getting lots of silly errors, and all the GUI stuff keeps crashing

    i must admit i am not very impressed with these Xserve’s they look pretty, but not sure about the underlying OS

    perhaps i should install Debian on it ?? :p

    #358326
    Anonymous
    Participant

    right am using ldap stuff now

    but i can’t do from the command line

    [code:1:f34d56899b]
    smbpasswd -a root
    [/code:1:f34d56899b]

    the error that i get is
    [code:1:f34d56899b]
    office# smbpasswd -a root
    New SMB password:
    Retype new SMB password:
    dyld: smbpasswd Undefined symbols:
    /etc/pdb/opendirectorysam.so undefined reference to _get_opendirectory_authenticator expected to be defined in the executable
    zsh: trace trap smbpasswd -a root
    office#
    [/code:1:f34d56899b]

    we don’t have dns running, ( we will once we get another machine to take over that ) and we have another NT SERVER that is running as PDC, which we can’t turn off yet (another issue)

    checking the logs in windows it seems that i wants to connect to the NT SERVER instead, can i get it to connect to the xserve instead ??

    cheers

    #358330
    Anonymous
    Participant

    just thought that i would update

    i have got it to work with win98, just need to tweak XP so that it works now 🙂

    #358346
    Anonymous
    Participant

    im having probs. with samba on our xserve too.

    im trying to replace an old NT 4 domain, with samba on the xserve. I keep getting errors that seem to be around the roaming profles side of things.

    lots of prf*.tmp file errors (writing of file) errors about paths being too long.. basically, users log out, takes either 1) forever (15+) minutes to log out, or 2) they get lots of errors, and any changes to the profile are lost.

    anyone else witht these probs?

    thanks

    #358962
    Anonymous
    Participant

    I get the same error when trying to run net rpc vampire -S servername -U Administrator%secret. This should pull the entire existing domain and dump it into the ldap directory. The best I can tell is that the library that allows smbpasswd to interact with open directory is not compiled in.

    “/etc/pdb/opendirectorysam.so undefined reference to get_opendirectory_authenticator expected to be defined in the executable Trace/BPT trap”

    I could re-compile the samba package and include the opendirectorysam.so in the smbpasswd executable, but I’m not sure exactly how Samba is configured under Panther. Any apple techs listening, I’d sure like to know.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.

Comments are closed