Displaying 13 results from an estimated 13 matches for "prd2".
Did you mean:
pd2
2014 Dec 19
4
Samba 4 problems
...ver to AD on a samba box, but if a user is on a
Windows box I need him to have the same UID on created files as if he
was on a Unix box.
Did I miss something with smbpasswd or pdbedit where I can set specific
UID just like I can by editing /etc/passwd?
Here is something interesting.....
root at prd2:/home/wynkoop # pdbedit -L | grep wynkoop
wynkoop:34:
root at prd2:/home/wynkoop #
root at prd2:/home/wynkoop # id wynkoop
uid=34(wynkoop) gid=34(wynkoop) groups=34(wynkoop),0(wheel),80(www)
root at prd2:/home/wynkoop #
root at prd2:/home/wynkoop # pdbedit -Lv wynkoop
(config output snipped)...
2015 Feb 26
1
Back with my UID problems
On Thu, 26 Feb 2015 22:45:02 +0000
Rowland Penny <rowlandpenny at googlemail.com> wrote:
>
> Just what do you mean by 'allow no connections' ?? where from ? how?
ivory:~ wynkoop$ smbclient -L prd2
Receiving SMB: Server stopped responding
protocol negotiation failed
ivory:~ wynkoop$
and on the server with the samba-tool built config I have these samba
related processes:
root at prd2:/usr/local/etc # ps ax | grep samba
962 - I 0:00.01 samba: task[s3fs_parent] (samba)
49471 2 S+...
2015 Feb 26
2
Back with my UID problems
...info on this, run 'samba-tool --help' or 'samba-tool user add
> --help', you can also run 'man samba-tool'
>
> Rowland
>
The config file produced by samba-tool produced a server that would
allow no connections. Here is the samba-tool produced config:
root at prd2:/usr/local/etc # cat smb4.conf.initial
# Global parameters
[global]
workgroup = WYNN
realm = WYNN.COM
netbios name = PRD2
server role = active directory domain controller
dns forwarder = 199.89.147.1
idmap_ldb:use rfc2307 = yes
[netlogon]
pat...
2014 Dec 19
2
Samba 4 problems
Greeting-
Ok I went back and re-read the page on the AD DC HowTo, and now I
remember that it was the first way I tried to set up the server two
weeks ago. When I tried to start the server it failed to start, which is
why I went searching out an smb4.conf online.
I can go through the setup from the start again, but I am still at a
loss as to how to match the UID numbers in the Samba AD to the
2015 Feb 26
3
Back with my UID problems
...--help'
> All the info you require is there.
>
> Rowland
>
Still fail:
Used pdbedit to remove the previous user wynkoop
used samba-tool to add user wynkoop with specific UID and GID
I then connected as user wynkoop with smbclient and uploaded a file
to /archive/test
root at prd2:/usr/local/etc # samba-tool user add wynkoop --gid-number=34
- --uid=34 --gecos="Brett Wynkoop" --login-shell=/usr/local/bin/bash
- --home-directory=/home/wynkoop New Password: Retype Password:
Processing section "[netlogon]"
Processing section "[sysvol]"
Processing s...
2015 Feb 26
6
Back with my UID problems
On Wed, 25 Feb 2015 19:48:07 +0000
Rowland Penny <rowlandpenny at googlemail.com> wrote:
> As for creating users & groups, samba 4 comes with 'samba-tool' for
> more info on this, run 'samba-tool --help' or 'samba-tool user add
> --help', you can also run 'man samba-tool'
>
> Rowland
>
Nothing in the samba-tool man page speaks to
2015 Feb 27
0
Back with my UID problems
...t;
>> Rowland
>>
> Still fail:
>
> Used pdbedit to remove the previous user wynkoop
>
> used samba-tool to add user wynkoop with specific UID and GID
>
> I then connected as user wynkoop with smbclient and uploaded a file
> to /archive/test
>
>
> root at prd2:/usr/local/etc # samba-tool user add wynkoop --gid-number=34
> - --uid=34 --gecos="Brett Wynkoop" --login-shell=/usr/local/bin/bash
> - --home-directory=/home/wynkoop New Password: Retype Password:
> Processing section "[netlogon]"
> Processing section "[sysvol]...
2015 Feb 27
1
Back with my UID problems
...4-1000
to the smb4.conf file. I then deleted user wynkoop, restarted samba
and added user wynkoop again. The UID incremented from where it had
previously been. Just to make sure I did the whole delete and add
again another time. The results of uploading files from smbclient are
below:
root at prd2:/usr/local/etc # ls -l /archive/test
total 5
-rw-r--r-- 1 3000014 wheel 6148 Feb 22 03:37 .DS_Store
-rw-r--r-- 1 3000013 wheel 381 Feb 26 22:55 bar
-rw-r--r-- 1 3000012 wheel 381 Feb 26 22:45 foo
-rw-r--r-- 1 3000011 wheel 381 Feb 26 18:18 profile
root at prd2:/usr/local/etc #
Do I...
2015 Feb 25
3
Back with my UID problems
...a connection
to be made using smbclient.
------------------cut here-------------------------------------------
# Global parameters
[global]
workgroup = WYNN
auth methods = pam sam winbind
kerberos method = secrets and keytab
local master = yes
netbios name = PRD2
log level = 4
# dcerpc endpoint servers = epmapper, wkssvc, rpcecho, samr,
netlogon, lsa rpc, spoolss, drsuapi, dssetup, unixinfo, browser,
eventlog6, backupkey, dnsserv er, winreg, srvsvc
dcerpc endpoint servers = epmapper, wkssvc, rpcecho, samr,
netlogon, lsa rpc, spoolss, d...
2015 Feb 26
0
Back with my UID problems
...l --help' or 'samba-tool user add
>> --help', you can also run 'man samba-tool'
>>
>> Rowland
>>
> The config file produced by samba-tool produced a server that would
> allow no connections. Here is the samba-tool produced config:
>
> root at prd2:/usr/local/etc # cat smb4.conf.initial
> # Global parameters
> [global]
> workgroup = WYNN
> realm = WYNN.COM
> netbios name = PRD2
> server role = active directory domain controller
> dns forwarder = 199.89.147.1
> idmap...
2015 Feb 25
0
Back with my UID problems
...llow a
> connection to be made using smbclient.
>
> ------------------cut
> here------------------------------------------- # Global parameters
> [global] workgroup = WYNN auth methods = pam sam winbind kerberos
> method = secrets and keytab local master = yes netbios name = PRD2
> log level = 4 # dcerpc endpoint servers = epmapper, wkssvc,
> rpcecho, samr, netlogon, lsa rpc, spoolss, drsuapi, dssetup,
> unixinfo, browser, eventlog6, backupkey, dnsserv er, winreg, srvsvc
> dcerpc endpoint servers = epmapper, wkssvc, rpcecho, samr, netlogon,
> lsa r...
2015 Feb 25
2
Back with my UID problems
Greeting-
I had to take a break from mucking with samba because some other things
came up.
Let me recap the situation:
. I have an existing network of various unix boxes that use NIS and NFS
at the moment.
. I have to drop some windows boxes into the network.
. For policy reasons certain staff are in the local password file on
each server, everyone else is in NIS.
. UIDs are in sync
2015 Feb 27
4
Back with my UID problems
On Fri, 27 Feb 2015 00:18:24 +0000
Rowland Penny <rowlandpenny at googlemail.com> wrote:
> 34, you are seriously using 34 for a standard user id number ? You
> shouldn't use anything below 1000 for a normal user, these low
> numbers are reserved for system use and you have run into a problem
> that can only be fixed by not using such low numbers. The 3000014
> number is