![]() The only other clue I can offer: one reference I read mentioned the synchronization of passwords feature in Samba as a possible cause. Clearly, if samba-tool isn't working (and in my case, I have 4 servers running Samba, and its not working on any of them) it needs to be fixed. I've also found several reports of the bug having been 'fixed'.(this variation is not fixed).Īll I wanted to do was make sure the samba user/password database was clean, by removing an orphan, and I couldn't. I've found a few isolated references to similar manifestations in bug reports, some going back 4-6 years. The problem? After encountering this on one system, I checked samba-tool on three other independent systems (all Ubuntu), and samba-tool was broken on them too. Return n(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/samba/netcmd/user.py", line 292, inĪttrs=) acel:/mnt/nsd# samba-tool user list ERROR(ldb): uncaught exception - ldb_search: invalid basedn '(null)'įile "/usr/lib/python2.7/dist-packages/samba/netcmd/ init.py", lineĪttrs=) acel:/mnt/nsd# which ldb ldb: Command not found. "/usr/lib/python2.7/dist-packages/samba/netcmd/ init.py", line 175, Mtime" ERROR(ldb): uncaught exception - ldb_search: invalid basedn "acl xattr update mtime" Ignoring unknown parameter "acl xattr update Here's the tip (or I should say 'a tip') of the iceberg:Īcel:/mnt/nsd# samba-tool user list Unknown parameter encountered: (which reports the version number correctly) But then, so do all the other commands involving samba-tool, except: samba-tool -V I just found a bug-report going back to 2014, reporting exactly the same thing I encountered: I'm concerned that this 'bug' may be miscategorized, because its showing up in so many different forms. The "General Samba Guides" of the Ubuntu Server Documentation should give you all the information you need. Samba4 is compatible with these setups to samba3 and though you need smbpasswd to create user in samba. If you only need a simple server that has some Accounts for it's own purpose and provides access to some shared folders you should follow the guides for samba3. But be warned, this documentation does not suite to ubuntu directly and you need to understand the stuff that is depending on it (namely DNS, Kerberos, LDAP). I the case that you need an AC Server you should follow the guide which is provided by the samba project itself ( ). You should ask yourself if you need an Active Directory Server in your Network or do you only need a simple Samba-Server only with it's own users. So if you haven't setup your Samba as AC server, samba-tool user add will not work. I can't even accomplish a simple sudo samba-tool user list without errors! ERROR(ldb): uncaught exception - ldb_search: invalid basedn '(null)'įile "/usr/lib/python2.7/dist-packages/samba/netcmd/_init_.py", line 175, in _runįile "/usr/lib/python2.7/dist-packages/samba/netcmd/user.py", line 271, in runĪs far as I know the samba-tool is for Active Directory (AC) provisioning only. I've tried it also with another username that's not on the system. Uid=uid, uidnumber=uid_number, gidnumber=gid_number, gecos=gecos, loginshell=login_shell)įile "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 343, in newuserĭnsdomain = ldb.Dn(self, self.domain_dn()).canonical_str().replace("/", "") sudo samba-tool user add penguinĮRROR(): Failed to add user 'penguin': - unable to parse dn stringįile "/usr/lib/python2.7/dist-packages/samba/netcmd/user.py", line 176, in run (I should note that I have an account named penguin, too, but I want all the users to be configured using samba-tool because penguin is the only user account that will be on it, and there will be more users than there is now). ![]() Socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192Ĭomment = "A small folder to move files from/to the server. It's a modified version of something I found on a tutorial online. My config file (listed below) seems to be valid. I'm trying to connect it to my Windows machine. ![]() Samba came uninstalled (when I chose it), so I just need to configure it. ![]() I'm trying to configure a Samba share on my Dell Poweredge 860 running server 14.04 LTS. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |