Displaying 20 results from an estimated 10000 matches similar to: "samba-tool user add --uid"
2015 Nov 10
3
Unable to use samba-tool
I having trouble with use samba-tool command. It just does not works. I
need help with troubleshooting
Commands I have tried:
sudo samba-tool user create edward
New Password:
Retype Password:
ERROR(<type 'exceptions.ValueError'>): Failed to add user 'edward': -
unable to parse dn string
File "/usr/lib/python2.7/dist-packages/samba/netcmd/user.py", line
176,
2014 Aug 05
1
samba-tool syntax error?
I am using the following syntax to create a new user
samba-tool user add user passwd --userou=Faculty --given-name=new
--surname=user --gecos=198 --mail-address=newuser at myschool.edu
Which gives me the following error:
ERROR(<type 'exceptions.ValueError'>): Failed to add user 'user': - unable
to parse dn string
File
2014 Dec 30
3
CUPS and Samba4
Hi,
I'm going to migrate my old CUPS server to a new setup. It shall provide
the printing backend for Samba4 and should integrate as seamless as
possible. Both Windows and Linux users should not require additional
passwords, but should be authenticated by their Kerberos tickets.
Is there anything particular to consider? E.g. has the CUPS server to be
joined to the AD and should it run a
2015 Oct 07
1
samba-tool user add
I have 4 DC in samba I can not create users in two of them gives me the
following error
Please any idea
Karel slds
root at nbn-2:~# samba-tool user add pepito
New Password:
Retype Password:
params.c:pm_process() - Processing configuration file
"/etc/samba/shares.conf"
ERROR(ldb): Failed to add user 'pepito': - ../ldb_tdb/ldb_index.c:1216:
Failed to re-index objectSid in
2014 Nov 05
1
SambaPosix tool
As announced several weeks ago, I'd share my tool to manage POSIX
attributes in Samba4 AD LDAP.
You can find it at https://github.com/laotse/SambaPosix.
It works on my particular system, but it is largely untested and
weakly documented. But it supports a --dry-run mode, which produces
LDIF, if you don't trust the tool. ;)
I'll welcome contributions: tests, documentation, comments,
2015 Jan 19
2
Joined machine cannot mount share, others can - strange
I run a Samba4 AD and joined a Synology NAS running Samba 3.6.9. I can
access the shares using smbclient or mount -t cifs from all Linux
machines (usually running Samba 3.6.6 clients). I can mount the shares
from WinXP home and Win7 home.
However, with a Win7 Ultimate machine joined to the AD most of the time
it doesn't work. I can logon to the machine with my AD credentials, but
I am
2014 Dec 01
3
uidNumber. ( Was: What is --rfc2307-from-nss ??)
Greg,
> Unfortunately, these attributes do not exist as standard, so you would
> either have to add a user with ADUC or manually add them yourselves with
> ldbedit. As standard on windows, they both start at '10000', though you
> can set them to whatever you require, just make sure that they do not
> interfere with any local Unix users.
If you like to manage Unix users
2014 Jun 27
2
Permission issue writing to demo share
I created a demo share on my AD DC. After obtaining a copy of Win7
Ultimate I could now verify that the share has all rights granted to
anyone (don't know how Windoze call "Jeder" in English).
I can read and write the Share using AD\Administrator. AD\StandardUser
can mount the share and read, what the Administrator put there. But he
cannot create or modify files.
2015 Nov 10
1
Unable to use samba-tool
First don't forget to reply to Rowland, he's question has sense.
samba-tool user list
ltdb: tdb(/var/lib/samba/private/sam.ldb): tdb_open_ex: could not open
file /var/lib/samba/private/sam.ldb: *Permission denied*
--> You should have run that command with a non-root user. A root user
would not face such issue as root can access all files. Perhaps you can
deal with files permissions to
2014 Jun 29
2
Winbind does not read uidNumber
Well, seems like I hit every mudhole that could be on the way ...
root at samba4:/# getent passwd | grep mgr
mgr:*:10000:10000:Lars LH. Hanke:/home/AD/mgr:/bin/bash
root at samba4:/# ldapsearch -LLL -D
"CN=Administrator,CN=Users,DC=ad,DC=microsult,DC=de" -x -W '(uid=mgr)'
uid uidNumber gidNumber sAMAccountName name gecos
Enter LDAP Password:
dn: CN=Lars LH.
2015 Jan 29
3
rfc2307 deprecated in Windows 2012 R2?
It is actually rather easy to set the attributes via powershell, and
that is probably the best way to add them in a Server 2012 R2
environment.
I wrote a powershell script to do this automatically for users and
groups in an entire domain that should be pretty generic to be reused.
It also mirrors the logic used in automatic winbind UID/GID generation
to be able to coexist in an environment where
2014 Jun 18
1
Mount share on Synology NAS (Samba 3.6.9) as client of Samba 4.1.9 AD DC
I set-up a basic AD DC using samba 4.1.9 successfully. I joined my NAS
to the domain, i.e. I saw no errors and see the users and groups of my
AD listed in the GUI of the NAS. When I try to connect to a share of the
NAS the following happens:
mgr at ws1:~$ smbclient -U 'AD\mgr' //nas/Test
Enter AD\mgr's password:
Domain=[AD] OS=[Unix] Server=[Samba 3.6.9]
tree connect failed:
2014 Jun 24
2
Join AD fails DNS update
This topic has been on the list two years ago, already, but apparently
to no conclusion.
I'm trying to join a Debian Wheezy machine (Samba 3.6.6) to my freshly
made backports AD (Samba 4.1.7). This is what I see:
root at samba4:/# net ads join -U Administrator at AD.MICROSULT.DE
Enter Administrator at AD.MICROSULT.DE's password:
Using short domain name -- AD
Joined 'SAMBA4' to
2015 Mar 12
3
AD DC out of sync
Hi Marc,
>> The cause is that the password change didn' reach both AD DCs, but only
>> one. The other one still had the old value as could be seen by
>> samba-tool ldapcmp. Restarting the DCs and waiting for a couple of
>> seconds brings them back to sync and Windows logons work as they used to.
>> Any idea, what I should do next time to obtain valuable output
2015 Jan 29
2
rfc2307 deprecated in Windows 2012 R2?
Ok, it's here: http://pastebin.com/JEnr5wUq
The id_offset is that value because i initially didn't use rfc2307
attributes, but instead
On 29 January 2015 at 23:27, Tim <lists at kiuni.de> wrote:
> @Hans-Kristian:
> I'd like to see it. How did you automate this?
>
> @Andrew:
> In another thread I suggested to set the rfc2307 info automatically when a
> domain
2014 Dec 31
4
Fwd: Re: Samba4 and sssd, keytab file expires?
Il 2014-12-31 16:29 Dr. Lars Hanke ha scritto:
>>> OK, you can get winbind to update your keytab, you need to alter your
>>> smb.conf slightly. You need to change 'kerberos method = secrets
>>> only'
>>> to either 'kerberos method = secrets and keytab' or 'kerberos method
>>> =
>>> system keytab' and add the line
2014 Sep 11
1
change primaryGroupID - unwilling to perform
My tool is growing fast and it takes me to the finishing line for
setting up my new user database. But nw I came across another strange issue:
I'd like to change the primaryGroupID. It is currently set to 513, which
simply does not exist. I wanted to set to 100, which exists and actually
the user is a member of this group, but then I get the following exception:
ldap.UNWILLING_TO_PERFORM:
2014 Oct 25
2
LDAP proxy auth
During my test phase I used to manage POSIX attributes in my AD using
ldap-tools with -Y GSSAPI after kinit Administrator. Now this became
impossible unless I logged in as Administrator, since the principal is
tied to the user account - be it only for NFS4. ;) Administrator so far
is not even a POSIX user.
My first idea was to join my POSIX user to some group, which is allowed
to modify user
2015 Feb 02
3
Fileserver Failover with AD and Gluster
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am 02.02.2015 um 13:30 schrieb Sven Schwedas:
> On 2015-02-02 12:56, Lars Hanke wrote:
>> I currently plan to move my storage to Gluster. One of the
>> anticipated advantages is to have Gluster replicate data among
>> physical nodes, i.e. if one node dies the file service can live
>> on.
>>
>> AD for
2014 Jun 06
2
Forward Samba DC DNS to Bind
I have a running Bind9 infrastructure and intend to have Samba its
specialities, but leave the bulk to Bind. My idea is to configure a
slave zone with Samba as master in my top level Bind. However, this
would need Samba to allow-forward.
Is there any way to configure the internal DNS like that? Or do I have
to run a Bind instance on the samba machine for that purpose?
Thanks for your help,
-