[SOLVED] joining Arch to a Samba pdc

Hello.
I have a Samba pdc on Arch that works great with Windows XP clients for some time.
I was able to join (after starting heimdal-kdc on the server) an Arch client to the Samba pdc as per http://wiki.archlinux.org/index.php/Arc … ows_domain.
And it worked great until a reboot. Now gdm displays "authentication service cannot retrieve authentication info".
I found posts by Debian users that it might be the result of winbindd starting before the network is up, so I inserted openntpd between them and it still didn't help.
Here are some configs:
nsswitch.conf
# Begin /etc/nsswitch.conf
passwd: files winbind
group: files winbind
shadow: files winbind
publickey: files
hosts: files dns
networks: files
protocols: files
services: files
ethers: files
rpc: files
netgroup: files
# End /etc/nsswitch.conf
krb5.conf
[libdefaults]
default_realm = LINUXGROUP.COM
clockskew = 300
ticket_lifetime = 1d
dns_lookup_realm = true
dns_lookup_kdc = true
[realms]
LINUXGROUP.COM = {
kdc = 172.17.2.167
admin_server = 172.17.2.167
default_domain = linuxgroup.com
[domain_realm]
.linuxgroup.com = LINUXGROUP.COM
linuxgroup.com = LINUXGROUP.COM
linuxgroup = LINUXGROUP.COM
[appdefaults]
pam = {
ticket_lifetime = 1d
renew_lifetime = 1d
forwardable = true
proxiable = false
retain_after_close = false
minimum_uid = 0
debug = false
[logging]
default = SYSLOG:NOTICE:DAEMON
kdc = FILE:/var/log/kdc.log
smb.conf
[Global]
netbios name = WELLLINUX07
workgroup = LINUXGROUP.COM
realm = LINUXGROUP.COM
server string = welllinux07
map to guest = Bad User
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
winbind gid = 10000-20000
winbind use default domain = yes
winbind separator =+
os level = 20
template shell = /bin/bash
encrypt passwords = yes
security = domain
password server = 172.17.2.167
preferred master = no
dns proxy = no
wins server = 172.17.2.167
wins proxy = no
interfaces=eth0
[homes]
comment = User´s homedirs
path =/home/%U
valid users = %S NET+%S
browseable = no
read only = no
Please help me to get it working after a reboot.
Last edited by lifanov (2009-11-01 22:02:03)

I needed to init the realm in kadmin.

Similar Messages

  • Join domain hosted by samba pdc

    Hi.
    I'm trying to join a Mac OSX client 10.5 into domain hosted by a samba pdc. Windows clients can join the domain without problems.
    Does Mac OS X actually need AD for this to work?
    Thanks..

    I'm trying to join a Mac OSX client 10.5 into domain
    Trying how? Are you using the Directory Utility application?

  • How To join Max OS C Clients to a Linux Samba PDC

    Hi,
    we do have a working Linux Samba PDC for a lot of Windows XP Clients. Now, we'd like to join the fewer Mac OS X Clients also to the PDC, so that users can login to the hopefully same profile/home directory from PC and Mac.
    Is this possible? If not, is it possible to only authenticate the Mac OS X Users against the samba pdc (without automounting shares ...)?
    Are there any How To?
    Thanks for any hint and suggestion! Best regards.
    Götz Reinicke

    Hi Luis,
    You also need to add the Linux user to samba using the smbpasswd -a username command, aslo the machine you are accessing needs to be added to the smbpasswd file using the -m (this can be run only by root)
    for more details on the command do a
    man smbpasswd.
    Hope this helps.
    Thanks.

  • Sharing Files Between 3 Arch Computers Using SAMBA [SOLVED]

    I am trying to network 3 of my computers together.  They are all running Arch 64.  I setup the smb.conf file according to various tutorials and then the folders show up on the other computers, but when you double click them (using Gnome 3) it gives an error "unable to mount location, failed to mount windows share"
    I know this has to be some permission issue but I have spent hours on this and am hitting a brick wall.  Here is my smb.conf file.
    #======================= Global Settings =====================================
    [global]
    # workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
    workgroup = WORKGROUP
    # server string is the equivalent of the NT Description field
    server string = Samba Server
    # Security mode. Defines in which mode Samba will operate. Possible
    # values are share, user, server, domain and ads. Most people will want
    # user level security. See the Samba-HOWTO-Collection for details.
    security = share
    guest account = nobody
    [Z]
    path = /media/Z
    public = yes
    guest ok = yes
    writeable = yes
    only guest = yes
    browseable = yes
    [Documents]
    path = /home/myname/Documents
    public = yes
    guest ok = yes
    writeable = yes
    browseable = yes
    only guest = yes
    # This option is important for security. It allows you to restrict
    # connections to machines which are on your local network. The
    # following example restricts access to two C class networks and
    # the "loopback" interface. For more examples of the syntax see
    # the smb.conf man page
    ; hosts allow = 192.168.1. 192.168.2. 127.
    # If you want to automatically load your printer list rather
    # than setting them up individually then you'll need this
    load printers = yes
    # you may wish to override the location of the printcap file
    ; printcap name = /etc/printcap
    # on SystemV system setting printcap name to lpstat should allow
    # you to automatically obtain a printer list from the SystemV spool
    # system
    ; printcap name = lpstat
    # It should not be necessary to specify the print system type unless
    # it is non-standard. Currently supported print systems include:
    # bsd, cups, sysv, plp, lprng, aix, hpux, qnx
    ; printing = cups
    # Uncomment this if you want a guest account, you must add this to /etc/passwd
    # otherwise the user "nobody" is used
    ; guest account = pcguest
    # this tells Samba to use a separate log file for each machine
    # that connects
    log file = /var/log/samba/%m.log
    # Put a capping on the size of the log files (in Kb).
    max log size = 50
    # Use password server option only with security = server
    # The argument list may include:
    # password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
    # or to auto-locate the domain controller/s
    # password server = *
    ; password server = <NT-Server-Name>
    # Use the realm option only with security = ads
    # Specifies the Active Directory realm the host is part of
    ; realm = MY_REALM
    # Backend to store user information in. New installations should
    # use either tdbsam or ldapsam. smbpasswd is available for backwards
    # compatibility. tdbsam requires no further configuration.
    ; passdb backend = tdbsam
    # Using the following line enables you to customise your configuration
    # on a per machine basis. The %m gets replaced with the netbios name
    # of the machine that is connecting.
    # Note: Consider carefully the location in the configuration file of
    # this line. The included file is read at that point.
    ; include = /usr/local/samba/lib/smb.conf.%m
    # Configure Samba to use multiple interfaces
    # If you have multiple network interfaces then you must list them
    # here. See the man page for details.
    ; interfaces = 192.168.12.2/24 192.168.13.2/24
    # Browser Control Options:
    # set local master to no if you don't want Samba to become a master
    # browser on your network. Otherwise the normal election rules apply
    ; local master = no
    # OS Level determines the precedence of this server in master browser
    # elections. The default value should be reasonable
    ; os level = 33
    # Domain Master specifies Samba to be the Domain Master Browser. This
    # allows Samba to collate browse lists between subnets. Don't use this
    # if you already have a Windows NT domain controller doing this job
    ; domain master = yes
    # Preferred Master causes Samba to force a local browser election on startup
    # and gives it a slightly higher chance of winning the election
    ; preferred master = yes
    # Enable this if you want Samba to be a domain logon server for
    # Windows95 workstations.
    ; domain logons = yes
    # if you enable domain logons then you may want a per-machine or
    # per user logon script
    # run a specific logon batch file per workstation (machine)
    ; logon script = %m.bat
    # run a specific logon batch file per username
    ; logon script = %U.bat
    # Where to store roving profiles (only for Win95 and WinNT)
    # %L substitutes for this servers netbios name, %U is username
    # You must uncomment the [Profiles] share below
    ; logon path = \\%L\Profiles\%U
    # Windows Internet Name Serving Support Section:
    # WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
    ; wins support = yes
    # WINS Server - Tells the NMBD components of Samba to be a WINS Client
    # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
    ; wins server = w.x.y.z
    # WINS Proxy - Tells Samba to answer name resolution queries on
    # behalf of a non WINS capable client, for this to work there must be
    # at least one WINS Server on the network. The default is NO.
    ; wins proxy = yes
    # DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
    # via DNS nslookups. The default is NO.
    dns proxy = no
    # These scripts are used on a domain controller or stand-alone
    # machine to add or delete corresponding unix accounts
    ; add user script = /usr/sbin/useradd %u
    ; add group script = /usr/sbin/groupadd %g
    ; add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
    ; delete user script = /usr/sbin/userdel %u
    ; delete user from group script = /usr/sbin/deluser %u %g
    ; delete group script = /usr/sbin/groupdel %g
    #============================ Share Definitions ==============================
    [homes]
    comment = Home Directories
    browseable = no
    writable = yes
    [Z]
    path = /media/Z
    public = yes
    guest ok = yes
    writable = yes
    only guest = yes
    browseable = yes
    # Un-comment the following and create the netlogon directory for Domain Logons
    ; [netlogon]
    ; comment = Network Logon Service
    ; path = /usr/local/samba/lib/netlogon
    ; guest ok = yes
    ; writable = no
    ; share modes = no
    # Un-comment the following to provide a specific roving profile share
    # the default is to use the user's home directory
    ;[Profiles]
    ; path = /usr/local/samba/profiles
    ; browseable = no
    ; guest ok = yes
    # NOTE: If you have a BSD-style print system there is no need to
    # specifically define each individual printer
    [printers]
    comment = All Printers
    path = /var/spool/samba
    browseable = no
    # Set public = yes to allow user 'guest account' to print
    guest ok = no
    writable = no
    printable = yes
    # This one is useful for people to share files
    ;[tmp]
    ; comment = Temporary file space
    ; path = /tmp
    ; read only = no
    ; public = yes
    # A publicly accessible directory, but read only, except for people in
    # the "staff" group
    ;[public]
    ; comment = Public Stuff
    ; path = /home/samba
    ; public = yes
    ; writable = no
    ; printable = no
    ; write list = @staff
    # Other examples.
    # A private printer, usable only by fred. Spool data will be placed in fred's
    # home directory. Note that fred must have write access to the spool directory,
    # wherever it is.
    ;[fredsprn]
    ; comment = Fred's Printer
    ; valid users = fred
    ; path = /homes/fred
    ; printer = freds_printer
    ; public = no
    ; writable = no
    ; printable = yes
    # A private directory, usable only by fred. Note that fred requires write
    # access to the directory.
    ;[fredsdir]
    ; comment = Fred's Service
    ; path = /usr/somewhere/private
    ; valid users = fred
    ; public = no
    ; writable = yes
    ; printable = no
    # a service which has a different directory for each machine that connects
    # this allows you to tailor configurations to incoming machines. You could
    # also use the %U option to tailor it by user name.
    # The %m gets replaced with the machine name that is connecting.
    ;[pchome]
    ; comment = PC Directories
    ; path = /usr/pc/%m
    ; public = no
    ; writable = yes
    # A publicly accessible directory, read/write to all users. Note that all files
    # created in the directory by users will be owned by the default user, so
    # any user with access can delete any other user's files. Obviously this
    # directory must be writable by the default user. Another user could of course
    # be specified, in which case all files would be owned by that user instead.
    ;[public]
    ; path = /usr/somewhere/else/public
    ; public = yes
    ; only guest = yes
    ; writable = yes
    ; printable = no
    [Z]
    path = /media/Z
    public = yes
    guest ok = yes
    writable = yes
    only guest = yes
    browseable = yes
    # The following two entries demonstrate how to share a directory so that two
    # users can place files there that will be owned by the specific users. In this
    # setup, the directory should be writable by both users and should have the
    # sticky bit set on it to prevent abuse. Obviously this could be extended to
    # as many users as required.
    ;[myshare]
    ; comment = Mary's and Fred's stuff
    ; path = /usr/somewhere/shared
    ; valid users = mary fred
    ; public = no
    ; writable = yes
    ; printable = no
    ; create mask = 0765
    I know Z is in there twice, I tried adding it in a different spot after watching a tutorial, this doesn't have any bearing on my problem.
    Last edited by LuckyStrike (2012-02-18 00:26:51)

    Try setting it up this way...
    #======================= Global Settings =======================
    [global]
    log file = /var/log/samba/log.%m
    so_rcvbuf = 8192 SO_SNDBUF=8192
    passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
    obey pam restrictions = yes
    socket options = TCP_NODELAY
    map to guest = bad user
    encrypt passwords = true
    passdb backend = tdbsam
    passwd program = /usr/bin/passwd %u
    dns proxy = no
    netbios name = ArchLinux
    server string = %h server (Samba, Arch)
    path = /home/username
    default = global
    unix password sync = yes
    os level = 20
    auto services = homes
    syslog = 0
    panic action = /usr/share/samba/panic-action %d
    usershare allow guests = yes
    max log size = 1000
    pam password change = yes
    #======================= Share Definitions =======================
    [Home]
    guest account = nobody
    comment = Home Folder
    writeable = yes
    [Z]
    guest account = nobody
    comment = Z-Drive
    writeable = yes
    path = /media/Z
    [Documents]
    guest account = nobody
    comment = Documents Folder
    writeable = yes
    path = /home/myname/Documents
    Changing the username parts and other as necessary of course.

  • [SOLVED] Share Multiple Directories With Samba On Arch Linux and XP

    Hello,
    I have had the worst luck so far with Samba, which is far more likely because of an error on my part than on Samba's.
    I can only seem to share one directory regardless of how I setup my smb.conf. And worse yet, if I mess with Samba, smb.conf, after the first time I set it up it doesn't work again until I reinstall my OS. Now I'm sure that reinstalling isn't the only option, but I haven't figured out how to make it work again any other way. I've tried uninstalling it, deleting it from the cache, deleting /etc/samba and so on, still can't connect to it from XP when I reinstall it.
    I'm running Arch64 and I want to share some directories with a laptop running Windows XP.
    I want to share my home folder, but have it accessible from XP only by me, share my mother's home folder, and have it accessible on XP only by her (well actually I guess it needs to be accessible by both, since i'm the admin), share my media-server (a collection of five hard drives where I store movies and such), and have it read/write by both of us. And finally share /srv so I can work on that from the XP computer as well. I think that's all. And I would like to share printers between the two computers. I would also like to access XP files from here.
    I've always been able to get the media-server to share, but that's it, nothing else. And it doesn't always work right. It doesn't seem to want to follow sym links, but like I say if I mess with it it will stop working all together. So I'm not sure what to do.
    A thought was to instead make a /media/samba-share directory and share that, and inside it have symlinks to my home, media-server, etc. However, that will only work if samba will follow symlinks for me.
    Here is the smb.conf I am planning to use at the moment:
    # This is the main Samba configuration file. You should read the
    # smb.conf(5) manual page in order to understand the options listed
    # here. Samba has a huge number of configurable options (perhaps too
    # many!) most of which are not shown in this example
    # For a step to step guide on installing, configuring and using samba,
    # read the Samba-HOWTO-Collection. This may be obtained from:
    # http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf
    # Many working examples of smb.conf files can be found in the
    # Samba-Guide which is generated daily and can be downloaded from:
    # http://www.samba.org/samba/docs/Samba-Guide.pdf
    # Any line which starts with a ; (semi-colon) or a # (hash)
    # is a comment and is ignored. In this example we will use a #
    # for commentry and a ; for parts of the config file that you
    # may wish to enable
    # NOTE: Whenever you modify this file you should run the command "testparm"
    # to check that you have not made any basic syntactic errors.
    #======================= Global Settings =====================================
    [global]
    # workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
    workgroup = MEDIA-SERVER
    netbios name = Avalon
    encrypt passwords = true
    # server string is the equivalent of the NT Description field
    server string = Samba Server
    # Symlinks
    follow symlinks = yes
    wide symlinks = yes
    unix extensions = no
    # Security mode. Defines in which mode Samba will operate. Possible
    # values are share, user, server, domain and ads. Most people will want
    # user level security. See the Samba-HOWTO-Collection for details.
    security = user
    # This option is important for security. It allows you to restrict
    # connections to machines which are on your local network. The
    # following example restricts access to two C class networks and
    # the "loopback" interface. For more examples of the syntax see
    # the smb.conf man page
    ; hosts allow = 192.168.1. 192.168.2. 127.
    # If you want to automatically load your printer list rather
    # than setting them up individually then you'll need this
    load printers = yes
    # you may wish to override the location of the printcap file
    ; printcap name = /etc/printcap
    # on SystemV system setting printcap name to lpstat should allow
    # you to automatically obtain a printer list from the SystemV spool
    # system
    ; printcap name = lpstat
    # It should not be necessary to specify the print system type unless
    # it is non-standard. Currently supported print systems include:
    # bsd, cups, sysv, plp, lprng, aix, hpux, qnx
    ; printing = cups
    # Uncomment this if you want a guest account, you must add this to /etc/passwd
    # otherwise the user "nobody" is used
    ; guest account = pcguest
    # this tells Samba to use a separate log file for each machine
    # that connects
    log file = /var/log/samba/%m.log
    # Put a capping on the size of the log files (in Kb).
    max log size = 50
    # Use password server option only with security = server
    # The argument list may include:
    # password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
    # or to auto-locate the domain controller/s
    # password server = *
    ; password server = <NT-Server-Name>
    # Use the realm option only with security = ads
    # Specifies the Active Directory realm the host is part of
    ; realm = MY_REALM
    # Backend to store user information in. New installations should
    # use either tdbsam or ldapsam. smbpasswd is available for backwards
    # compatibility. tdbsam requires no further configuration.
    ; passdb backend = tdbsam
    # Using the following line enables you to customise your configuration
    # on a per machine basis. The %m gets replaced with the netbios name
    # of the machine that is connecting.
    # Note: Consider carefully the location in the configuration file of
    # this line. The included file is read at that point.
    ; include = /usr/local/samba/lib/smb.conf.%m
    # Configure Samba to use multiple interfaces
    # If you have multiple network interfaces then you must list them
    # here. See the man page for details.
    ; interfaces = 192.168.12.2/24 192.168.13.2/24
    # Browser Control Options:
    # set local master to no if you don't want Samba to become a master
    # browser on your network. Otherwise the normal election rules apply
    ; local master = no
    # OS Level determines the precedence of this server in master browser
    # elections. The default value should be reasonable
    ; os level = 33
    # Domain Master specifies Samba to be the Domain Master Browser. This
    # allows Samba to collate browse lists between subnets. Don't use this
    # if you already have a Windows NT domain controller doing this job
    ; domain master = yes
    # Preferred Master causes Samba to force a local browser election on startup
    # and gives it a slightly higher chance of winning the election
    ; preferred master = yes
    # Enable this if you want Samba to be a domain logon server for
    # Windows95 workstations.
    ; domain logons = yes
    # if you enable domain logons then you may want a per-machine or
    # per user logon script
    # run a specific logon batch file per workstation (machine)
    ; logon script = %m.bat
    # run a specific logon batch file per username
    ; logon script = %U.bat
    # Where to store roving profiles (only for Win95 and WinNT)
    # %L substitutes for this servers netbios name, %U is username
    # You must uncomment the [Profiles] share below
    ; logon path = \\%L\Profiles\%U
    # Windows Internet Name Serving Support Section:
    # WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
    ; wins support = yes
    # WINS Server - Tells the NMBD components of Samba to be a WINS Client
    # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
    ; wins server = w.x.y.z
    # WINS Proxy - Tells Samba to answer name resolution queries on
    # behalf of a non WINS capable client, for this to work there must be
    # at least one WINS Server on the network. The default is NO.
    ; wins proxy = yes
    # DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
    # via DNS nslookups. The default is NO.
    dns proxy = no
    # These scripts are used on a domain controller or stand-alone
    # machine to add or delete corresponding unix accounts
    ; add user script = /usr/sbin/useradd %u
    ; add group script = /usr/sbin/groupadd %g
    ; add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
    ; delete user script = /usr/sbin/userdel %u
    ; delete user from group script = /usr/sbin/deluser %u %g
    ; delete group script = /usr/sbin/groupdel %g
    include = /etc/samba/usershare.conf
    #============================ Share Definitions ==============================
    [homes]
    comment = Home Directories
    browseable = yes
    writable = yes
    [media-server]
    comment = Media Server
    path = /media/media-server
    browseable = yes
    writable = yes
    printable = yes
    valid users = theavataroftime, christina
    follow symlinks = yes
    [theavataroftime]
    comment = The Avatar of Time's Home Directory
    path = /home/theavataroftime
    browseable = yes
    writable = yes
    printable = yes
    valid users = theavataroftime
    follow symlinks = yes
    [christina]
    comment = Christina's Home Directory
    path = /home/christina
    browseable = yes
    writable = yes
    printable = yes
    valid users = christina
    follow symlinks = yes
    [server]
    comment = Server
    path = /srv
    browseable = yes
    writable = yes
    printable = yes
    valid users = theavataroftime, christina
    follow symlinks = yes
    # Un-comment the following and create the netlogon directory for Domain Logons
    ; [netlogon]
    ; comment = Network Logon Service
    ; path = /usr/local/samba/lib/netlogon
    ; guest ok = yes
    ; writable = no
    ; share modes = no
    # Un-comment the following to provide a specific roving profile share
    # the default is to use the user's home directory
    ;[Profiles]
    ; path = /usr/local/samba/profiles
    ; browseable = no
    ; guest ok = yes
    # NOTE: If you have a BSD-style print system there is no need to
    # specifically define each individual printer
    [printers]
    comment = All Printers
    path = /var/spool/samba
    browseable = yes
    Set public = yes to allow user 'guest account' to print
    guest ok = yes
    writable = no
    printable = yes
    # This one is useful for people to share files
    ;[tmp]
    ; comment = Temporary file space
    ; path = /tmp
    ; read only = no
    ; public = yes
    # A publicly accessible directory, but read only, except for people in
    # the "staff" group
    ;[public]
    ; comment = Public Stuff
    ; path = /home/samba
    ; public = yes
    ; writable = yes
    ; printable = no
    ; write list = @staff
    # Other examples.
    # A private printer, usable only by fred. Spool data will be placed in fred's
    # home directory. Note that fred must have write access to the spool directory,
    # wherever it is.
    ;[fredsprn]
    ; comment = Fred's Printer
    ; valid users = fred
    ; path = /homes/fred
    ; printer = freds_printer
    ; public = no
    ; writable = no
    ; printable = yes
    # A private directory, usable only by fred. Note that fred requires write
    # access to the directory.
    ;[fredsdir]
    ; comment = Fred's Service
    ; path = /usr/somewhere/private
    ; valid users = fred
    ; public = no
    ; writable = yes
    ; printable = no
    # a service which has a different directory for each machine that connects
    # this allows you to tailor configurations to incoming machines. You could
    # also use the %U option to tailor it by user name.
    # The %m gets replaced with the machine name that is connecting.
    ;[pchome]
    ; comment = PC Directories
    ; path = /usr/pc/%m
    ; public = no
    ; writable = yes
    # A publicly accessible directory, read/write to all users. Note that all files
    # created in the directory by users will be owned by the default user, so
    # any user with access can delete any other user's files. Obviously this
    # directory must be writable by the default user. Another user could of course
    # be specified, in which case all files would be owned by that user instead.
    ;[public]
    ; path = /usr/somewhere/else/public
    ; public = yes
    ; only guest = yes
    ; writable = yes
    ; printable = no
    # The following two entries demonstrate how to share a directory so that two
    # users can place files there that will be owned by the specific users. In this
    # setup, the directory should be writable by both users and should have the
    # sticky bit set on it to prevent abuse. Obviously this could be extended to
    # as many users as required.
    ;[myshare]
    ; comment = Mary's and Fred's stuff
    ; path = /usr/somewhere/shared
    ; valid users = mary fred
    ; public = no
    ; writable = yes
    ; printable = no
    ; create mask = 0765
    Now I wouldn't think I would need to list my home and mom's home seperately, but since [homes] has never worked for me in the past i thought i would give it a try. Does this look like something that would do what I am wanting?
    Otherwise I would delete [homes], [media-server], [theavataroftime], [christina], and [server] and replace them with just [samba-share] with all those as symlinks inside that directory as before mentioned.
    Anyway, thanks for the help. Any good guide on this matter would be appreciated, I have looked at several, but more can't hurt . Networking isn't my thing so to speak, so please be specific in any explanations. Thanks again.
    Last edited by The Avatar of Time (2009-03-02 03:38:12)

    Well it seems that my trouble all started when I began using the 'printable = yes' option for shares. Since I removed that the troubles seem to have left me.
    Does anyone know why that is listed as on option in smb.conf here:
    # A publicly accessible directory, but read only, except for people in
    # the "staff" group
    ;[public]
    ; comment = Public Stuff
    ; path = /home/samba
    ; public = yes
    ; writable = yes
    ; printable = no
    ; write list = @staff
    As well as in a few other examples if it doesn't work? I seen the example and assumed that option was needed to print from those shared directories.
    Also, it seems that the comma is not needed between the 'valid users' names.
    Also, I guess it wasn't Windows XP's fault either but rather my own ignorance. I like the idea of blaming Windows better though.....
    I hope this servers to help others to aviod my mistakes.

  • Are Mac OS X are able to join samba pdc

    Would like to check if the new mac os are able to join to linux domain server?
    I am having trouble in joining into the domain with the new lion os.
    May the good heart could help
    Thanks in advance
    Khairul

    Would like to check if the new mac os are able to join to linux domain server?
    I am having trouble in joining into the domain with the new lion os.
    May the good heart could help
    Thanks in advance
    Khairul

  • Joining Windows client to Leopard PDC domain

    Leopard Server 10.5.2 providing OD, AD PDC, DHCP, DNS, AFP, SMB all on and "running"
    XServe Intel
    Mainly Windows XP clients but also some OS X clients
    I am trying to set up a Leopard server to host a domain on our internal company LAN. I have followed the tutorials in "Mac OS X Server Essentials 10.5" and also referred to the "Open Directory Admin Guide" as well as the "Network Services Admin Guide" and am stuck in a few places.
    One issue I am having is trying to join an XP client to the domain so that I can use account login and home folder access which is on the Leopard server. My 10.5 client machine can login and access the home folder fine but when I try to join the XP machine I get the following error on the PC:
    "A domain controller for the domain mycompany.com could not be contacted. Ensure that the domain name is typed correctly."
    I then click on Details and get the following:
    "The following error occurred when DNS was queried for the service location (SRV) resource record used to locate a domain controller for domain mycompany.com:
    The error was "DNS name does not exist."
    (error code 0x0000232B RCODENAMEERROR)
    The query was for the SRV record for ldap._tcp.dc.msdcs.mycompany.com"
    DHCP seems to be handing out IP addresses fine but does not hand out LDAP info. e.g. My Leopard client cannot get the LDAP via DHCP even though this is configured (according to the "Essentials" book) in the Directory Utility, it will only see the Domain controller/LDAP if I manually enter the info into it's Directory Utility. I'm wondering if this has something to do with PC not finding the domain?
    What concerns me is the lack of configuration in DNS - so far I have only set up a primary zone for the domain mycompany.com with the correct primary zone name: mycompany.com. and nameserver: xserve1.mycompany.com. as well as a machine record within the zone for the server, machine name: xserve1 and IP address: 192.168.0.1 (the relevant reverse info is ok)
    I have seen some discussions online that indicate I need to enter more DNS info e.g. an LDAP service record etc. but there is no mention of this in the Directory admin manual under setting up a PDC. Is this true and if so can anyone advise me as to how to enter these in Server Admin?
    I am a complete beginner to server admin and command line tools but would really appreciate any help in the matter!
    Thanks

    Hi Leif - thanks for the reply,
    Maybe "broadcasting" in terms of the DHCP response was the wrong word for me to use but I see what you are saying...
    I have tried this Terminal command and got the following but can't see any reference to NetBIOS/WINS server address, just the scope and node info I currently have set. The WINS/SMB server is on the same xserve unit (192.168.0.1) and have tried joining with no scope and node settings as well as node type=H.)
    ipconfig getpacket en0
    op = BOOTREPLY
    htype = 1
    flags = 0
    hlen = 6
    hops = 0
    xid = 1499456152
    secs = 0
    ciaddr = 0.0.0.0
    yiaddr = 192.168.0.33
    siaddr = 192.168.0.1
    giaddr = 0.0.0.0
    chaddr = 0:17:f2:31:65:4a
    sname = xserve1.MYCOMPANY.com
    file =
    options:
    Options count is 12
    dhcpmessagetype (uint8): ACK 0x5
    server_identifier (ip): 192.168.0.1
    lease_time (uint32): 0x14e20
    subnet_mask (ip): 255.255.255.0
    router (ip_mult): {192.168.0.1}
    domainnameserver (ip_mult): {192.168.0.1}
    domain_name (string): MYCOMPANY.com
    domain_search (dns_namelist): {MYCOMPANY.com}
    ldap_url (string): ldap://xserve1.MYCOMPANY.com/dc=xserve1,dc=MYCOMPANY,dc=com
    nbover_tcpip_nodetype (uint8): 0x8
    nbover_tcpipscope (string): MYCOMPANY
    end (none):
    I used Wireshark on the PC client machine and got the following. Note that the DHCP Offer packet contains no option 44 (which AFAIK is what identifies the WINS server to clients) so the DHCP is not sending the address out.
    No. Time Source Destination Protocol Info
    3 2.996281 192.168.0.1 192.168.0.31 DHCP DHCP Offer - Transaction ID 0x2a7dee67
    Frame 3 (342 bytes on wire, 342 bytes captured)
    Ethernet II, Src: Apple_f2:03:08 (00:1e:52:f2:03:08), Dst: Micro-St_ff:86:a2 (00:10:dc:ff:86:a2)
    Internet Protocol, Src: 192.168.0.1 (192.168.0.1), Dst: 192.168.0.31 (192.168.0.31)
    User Datagram Protocol, Src Port: bootps (67), Dst Port: bootpc (68)
    Bootstrap Protocol
    Message type: Boot Reply (2)
    Hardware type: Ethernet
    Hardware address length: 6
    Hops: 0
    Transaction ID: 0x2a7dee67
    Seconds elapsed: 0
    Bootp flags: 0x0000 (Unicast)
    Client IP address: 0.0.0.0 (0.0.0.0)
    Your (client) IP address: 192.168.0.31 (192.168.0.31)
    Next server IP address: 192.168.0.1 (192.168.0.1)
    Relay agent IP address: 0.0.0.0 (0.0.0.0)
    Client MAC address: Micro-St_ff:86:a2 (00:10:dc:ff:86:a2)
    Server host name: xserve1.MYCOMPANY.com
    Boot file name not given
    Magic cookie: (OK)
    Option: (t=53,l=1) DHCP Message Type = DHCP Offer
    Option: (53) DHCP Message Type
    Length: 1
    Value: 02
    Option: (t=54,l=4) Server Identifier = 192.168.0.1
    Option: (54) Server Identifier
    Length: 4
    Value: C0A80001
    Option: (t=51,l=4) IP Address Lease Time = 59 minutes, 24 seconds
    Option: (51) IP Address Lease Time
    Length: 4
    Value: 00000DEC
    Option: (t=1,l=4) Subnet Mask = 255.255.255.0
    Option: (1) Subnet Mask
    Length: 4
    Value: FFFFFF00
    Option: (t=15,l=13) Domain Name = "MYCOMPANY.com"
    Option: (15) Domain Name
    Length: 13
    Value: 64656C616E656C65612E636F6D
    Option: (t=3,l=4) Router = 192.168.0.1
    Option: (3) Router
    Length: 4
    Value: C0A80001
    Option: (t=6,l=4) Domain Name Server = 192.168.0.1
    Option: (6) Domain Name Server
    Length: 4
    Value: C0A80001
    Option: (t=46,l=1) NetBIOS over TCP/IP Node Type = B-node
    Option: (46) NetBIOS over TCP/IP Node Type
    Length: 1
    Value: 01
    End Option
    Padding
    I also looked at what happens at the point when I try to join the PC to the domain with and without the WINS server IP address manually entered on the PC's network settings:
    Manual WINS setting communications:
    2 17.727677 192.168.0.31 192.168.0.1 DNS Standard query SRV ldap._tcp.dc.msdcs.MYCOMPANY.com
    Domain Name System (query)
    3 17.728106 192.168.0.1 192.168.0.31 DNS Standard query response, No such name
    Domain Name System (response)
    4 17.733483 192.168.0.31 192.168.0.1 NBNS Name query NB MYCOMPANY.COM<1c>
    NetBIOS Name Service
    5 17.733833 192.168.0.1 192.168.0.31 NBNS Name query response NB 192.168.0.1
    NetBIOS Name Service
    DHCP-reliant WINS configuration communications:
    1 0.000000 192.168.0.31 192.168.0.1 DNS Standard query SRV ldap._tcp.dc.msdcs.MYCOMPANY.com
    Domain Name System (query)
    2 0.000396 192.168.0.1 192.168.0.31 DNS Standard query response, No such name
    Domain Name System (response)
    3 0.000729 192.168.0.31 192.168.0.255 NBNS Name query NB MYCOMPANY.COM<1c>
    NetBIOS Name Service
    4 0.740454 192.168.0.31 192.168.0.255 NBNS Name query NB MYCOMPANY.COM<1c>
    NetBIOS Name Service
    5 1.490399 192.168.0.31 192.168.0.255 NBNS Name query NB MYCOMPANY.COM<1c>
    NetBIOS Name Service
    If anyone has any ideas...
    Thanks

  • [solved] Can't connect to samba shares

    This is probably my fault, but for the life of me I can't figure this out. I started out trying to get usershares to work by following the wiki at https://wiki.archlinux.org/index.php/samba, and I am unable to connect to the resulting shares either from the local host or from my netbook. It tells me permission denied. I then tried creating a public share with guest access, because I couldn't get the usershares to work. I am unable to get that working either. I have
    chmod 777 -R
    the folder I am sharing, as well as the
    /var/lib/samba/usershare
    folder. Please help. Here is my smb.conf:
    #======================= Global Settings =====================================
    [global]
    workgroup = OSHANNON
    server string = MDSHANNJARO
    hosts allow = 192.168.1. 127.
    log file = /var/log/samba/%m.log
    max log size = 50
    security = user
    map to guest = Bad User
    guest account = nobody
    dns proxy = no
    usershare path = /var/lib/samba/usershare
    usershare max shares = 100
    usershare allow guests = Yes
    usershare owner only = False
    #============================ Share Definitions ==============================
    [Bleach]
    path = /mnt/Data/Bleach
    read only = no
    guest ok = yes
    I tried adding the nobody user since there was no users listed when running
    pdbedit -L
    using
    pdbedit -a -u nobody
    and just pressed enter for the password field. This did not help.
    testparm says
    Load smb config files from /etc/samba/smb.conf
    rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
    Processing section "[Bleach]"
    Loaded services file OK.
    Server role: ROLE_STANDALONE
    Press enter to see a dump of your service definitions
    [global]
    workgroup = OSHANNON
    server string = MDSHANNJARO
    map to guest = Bad User
    log file = /var/log/samba/%m.log
    max log size = 50
    dns proxy = No
    usershare allow guests = Yes
    usershare max shares = 100
    usershare owner only = No
    usershare path = /var/lib/samba/usershare
    idmap config * : backend = tdb
    hosts allow = 192.168.1., 127.
    [Bleach]
    path = /mnt/Data/Bleach
    read only = No
    guest ok = Yes
    Last edited by mdshann (2014-03-04 06:01:04)

    uninstalled samba, reinstalled it. deleted old config file. created new config with just the contents that the wiki states is necessary for usershares to work. the current smb.conf looks like
    [global]
    usershare path = /var/lib/samba/usershare
    usershare max shares = 100
    usershare allow guests = yes
    usershare owner only = False
    added my user to samba using
    pdbedit -a -u mdshann
    started smbd and nmbd and enabled both. tried to share a folder, caja says samba is not installed. use yaourt to search for caja and find package mate-file-manager-share. installed said package, killed and restarted caja. shared folder and told it to add permissions automatically. checked the boxes to allow guest and to allow users to change files. still I cannot connect. just for reference, I have used the wiki article sections from the beginning of the article through adding a user. I did not use the creating a share section as I want usershares to work through MATE and CAJA. It creates the share and it is visible on the network, I just can't connect to it.
    Pretty much the same as what I tired before, with the same result. Only difference is I haven't tried manually creating the share through smb.conf, but that didn't work before either. No reason to think it will work now, the problem was the same whether I used the gui usershares option or adding the share to smb.conf.
    I was able to get samba working with a very similar config file as in my first post, on arch based manjaro on my server at work. I did not enable or use usershares at work, but creating the shares in smb.conf worked just fine. Why will the same procedure not work on arch? Same packages for the most part, manjaro just adds a few. In fact, when I set up samba on manjaro, I used the arch wiki article, as Manjaro's wiki is sparse. Main reason we used manjaro at work was the speed of installation was much quicker, and we needed the machine back up quickly so we could start backing up our customers data. (I own a PC repair shop.)
    On a side note, this community has served me well in the past the few times I have have issues since I started using arch 5 years ago. Why my post has gone so long without a reply other than being chastised for trying to call attention to a 3 day old unanswered thread is beyond me, but I am not thrilled by it. It has now been a full 2 weeks since my original post. I have never had this issue before, and if I can't bump or somehow call attention to my thread I am unsure of how to get help. Am I supposed to keep posting new threads on the same issue? I would think those would get closed rather quickly if I had. Should I post nonsense on this thread, I mean anything other than the word bump. A discussion of cat videos maybe?

  • [SOLVED] Reinstalling Arch on pure systemd - Localization problem.

    Hi
    I have accident regarding today filesystem update, so I decide to install arch again on pure systemd from the begining.
    I am now on freshly installed xfce  and i just noticed my userspace is totally not localized, despite proper localization steps.
    /etc/locale.gen
    pl_PL.UTF-8 UTF-8
    # cat /etc/vconsole.conf
    KEYMAP=pl
    FONT=lat2-16
    CONSOLEFONT=lat2a-16
    FONT_MAP=8859-2
    # locale -a
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_COLLATE to default locale: No such file or directory
    C
    POSIX
    pl_PL.utf8
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_ALL to default locale: No such file or directory
    LANG=pl_PL.utf8@euro
    LC_CTYPE="pl_PL.utf8@euro"
    LC_NUMERIC="pl_PL.utf8@euro"
    LC_TIME="pl_PL.utf8@euro"
    LC_COLLATE="pl_PL.utf8@euro"
    LC_MONETARY="pl_PL.utf8@euro"
    LC_MESSAGES=C
    LC_PAPER="pl_PL.utf8@euro"
    LC_NAME="pl_PL.utf8@euro"
    LC_ADDRESS="pl_PL.utf8@euro"
    LC_TELEPHONE="pl_PL.utf8@euro"
    LC_MEASUREMENT="pl_PL.utf8@euro"
    LC_IDENTIFICATION="pl_PL.utf8@euro"
    LC_ALL=
    What i should do?
    Last edited by utops (2012-10-06 11:46:37)

    utops wrote:
    karol wrote:
    Create ~/.config/locale.conf
    $ cat $HOME/.config/locale.conf
    LANG="pl_PL.UTF-8"
    and reboot.
    I know nothing about xfce, but can you tell me what part of the console stuff is in English? Can you copy / paste an example?
    $HOME config don't work either.
    From grub to login and from using CLI apps like nano and wifi-menu,mc,no polish language there.
    Everything is in english...
    Like system sudenly goes blind and don't see what i put in to configs.
    Everything worked well on my old pretty instalation i already miss that times.
    EDIT:
    Sudenly it worked again.
    Dunno what happened,just working again...
    Ok,so thx for tips guys,have a good evening...
    see my previous post.
    please mark the thread as solved.

  • [SOLVED] netfs fails to mount samba mountpoint in fstab

    Answer:  netfs fails to mount my samba mountpoint because eventhough
    network is before netfs, and network is not started in the background, it
    still seems to take a while to complete, but it doesn't block netfs from running.
    If I put some stalling code in /etc/rc.d/network, and make it wait, then netfs
    will mount the shares, because network was allowed to start and netfs can
    it can find the servers.
    Now, what I want to know is why my network starts up so slowly.
    ----------------------- Read thread for details ----------------------
    This similar setup is working on my old Gentoo setup.
    fstab
    //tib/public /mnt/network/tib smbfs rw,user,auto,guest 0 0
    tib resolves to a server on my LAN.
    When I boot my ARCH system, it gets to netfs daemon, and times out trying to
    access the server.  I get the message
    5711: Connection to tib failed
    SMB connection failed
    The boot completes, and I log in and get the following
    $ ping tib
    PING tiburon.mill (192.168.0.36) 56(84) bytes of data.
    64 bytes from tiburon.mill (192.168.0.36): icmp_seq=1 ttl=64 time=0.354 ms
    64 bytes from tiburon.mill (192.168.0.36): icmp_seq=2 ttl=64 time=0.371 ms
    and, I can mount it like this (which reads /etc/fstab)
    $ mount //tib/public
    $ ls /mnt/network/tib/ | wc -l
    11
    It seems like ARCH isn't able to use the network until sometime after this point in the boot.  Here's my rc.conf daemons
    DAEMONS=(syslog-ng network netfs crond sshd alsa)
    I tried putting netfs last, but that made no difference.  I also tried to load netfs in the background without benefit.
    Note:  cifs doesn't work either; and I get more descriptive errors
    :: Mounting Network Filesystems
    mount error: count not find target server. TCP name tib/public not found
    No ip address specified and hostname not found.
    OK, that clear enough.  But, the hostname is found right when the boot process finishes and I get a prompt.
    And, I've tried the ip address, and FQDN too.
    Any ideas?
    Last edited by ristretto (2007-07-24 05:04:57)

    ok, gave it a try.
    //tib/public /mnt/network/tib cifs rw,user,noauto,guest 0 0
    $ cat /etc/rc.d/local
    #!/bin/bash
    mount //tib/public
    $ grep DAE /etc/rc.conf
    # DAEMONS
    DAEMONS=(syslog-ng network netfs crond sshd alsa local)
    Note local at the end.
    Now, all the daemons load up quick, and then local goes and times out, and I
    get the same error.
    mount error: count not find target server. TCP name tib/public not found
    No ip address specified and hostname not found.
    putting mount in .bash_profile is a bit of a security issue (though not really on my setup)
    but, more importantly, it mounts each time I log in to that account (say each ssh window to the box.)
    I'm thinking it's a bug in the initialization process somewhere?  I've never had this problem on other distros.
    What thinks you?

  • [SOLVED] install arch VM with pacstrap

    Dear all,
    I am installing a Arch VM on my Arch host. The host is up-to-date, well configured (at least I think) in a vanilla manner (no suspicious hacks).
    # pacstrap -i -c -d /dahlia base base-devel
    is installing all packages but gives me this error many times:
    /usr/bin/bash: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory
    error: command failed to execute correctly
    Googling this error returns lot of topics but I couldn't find a clear answer. I do not want to start with a semi-broken arch VM, so I want to solve this issue before going further.
    Thank you
    Last edited by gabx (2014-02-10 13:22:42)

    # pacstrap -i -c -d /dahlia base base-devel readline lib32-ncurses ncurses acl attr gettext
    did the trick

  • [solved] my arch didn't support persian fonts

    after I installed arch (kde desktop) my arch didn't support persian font for file names and show something like this (( رباعیات عمر خیام )) and when i changed the file name it shown ?????? ?????? ??.
    I can read persian fonts in webpages.
    how can I fix it.
    Last edited by morteza (2014-09-12 11:04:26)

    ReiserFS wrote:
    https://wiki.archlinux.org/index.php/locale
    # localectl set-locale LANG=en_US.UTF-8
    logoff
    thanks solved.

  • [Solved] Installed Arch, I have a kernel problem.

    Hi guys, I'm new here, but I use only linux since 2003. I have a problem at boot... When I choose arch from the bootloader I get this:
    ERROR: Failed to parse block device name for '/dev/sda6'
    ERROR: root fs cannot be detected. Try using the rootfstype= kernel parameter
    Or something very very similar. I see that I'm not the only one experiencing this problem so I try solving by myself following hints I've found on this forum... but nothing changed.
    I need help
    This is what you have to know:
    /etc/mkinitcpio.conf:
    MODULES=""
    HOOKS="base udev autodetect pata keymap filesystems"
    I also tried with ide...
    fstab
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    none /dev/pts devpts defaults 0 0
    none /dev/shm tmpfs defaults 0 0
    /dev/cdrom /mnt/cdrom iso9660 ro,user,noauto,unhide 0 0
    /dev/cdrom1 /mnt/cdrom1 iso9660 ro,user,noauto,unhide 0 0
    /dev/dvd /mnt/dvd udf ro,user,noauto,unhide 0 0
    /dev/fd0 /mnt/fd0 vfat user,noauto 0 0
    /dev/sda2 swap swap defaults 0 0
    /dev/sda6 / ext3 defaults 0 1
    grub entry:
    #Archlinux
    title ArchLinux (on /dev/sda6)
    root (hd0,5)
    kernel /boot/vmlinuz26 root=/dev/sda6
    initrd /boot/kernel26.img
    savedefault
    boot
    Last edited by Raffo (2007-07-14 16:34:42)

    That's very curious. I'm just having this problem after installing the lowlatency kernel from this repo:
    Server = http://arch.madfire.net/proaudio/i686
    So I've just changed the initrd /boot/kernel26.img to /boot/kernel26rt.img and I'm getting exactly the same error. I've also tried changing sda with hda in the grub's menu.lst but nothing changed...

  • Join linux client to samba domain

    I've followed instructions regarding integration with Active Directory on wiki and successfully joined to the domain. wbinfo gives the list of users and groups and everything works as expected. Users can login but nm-applet dont work. My log is:
    Feb 01 17:14:12 localhost lxdm-session[10923]: pam_unix(lxdm:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=user5
    Feb 01 17:14:13 localhost lxdm-session[10923]: pam_unix(lxdm:session): session opened for user user5 by (uid=0)
    Feb 01 17:14:13 localhost kernel: lxpolkit[10968]: segfault at 8 ip 080497f1 sp bfc14e40 error 4 in lxpolkit[8048000+3000]
    Feb 01 17:14:13 localhost systemd-coredump[10979]: Process 10968 (lxpolkit) dumped core.
    Feb 01 17:14:14 localhost dbus-daemon[172]: dbus[172]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.295" (uid=70006 pid=10965 comm="nm-applet ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=170 comm="/usr/bin/NetworkManager --no-daemon ")
    Feb 01 17:14:15 localhost dbus-daemon[172]: dbus[172]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.295" (uid=70006 pid=10965 comm="nm-applet ") interface="org.freedesktop.NetworkManager.Settings.Connection" member="GetSettings" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=170 comm="/usr/bin/NetworkManager --no-daemon ")
    Feb 01 17:14:15 localhost dbus-daemon[172]: dbus[172]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.295" (uid=70006 pid=10965 comm="nm-applet ") interface="org.freedesktop.NetworkManager.Settings.Connection" member="GetSettings" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=170 comm="/usr/bin/NetworkManager --no-daemon ")
    Feb 01 17:14:14 localhost dbus[172]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.295" (uid=70006 pid=10965 comm="nm-applet ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=170 comm="/usr/bin/NetworkManager --no-daemon ")
    Feb 01 17:14:14 localhost dbus[172]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.295" (uid=70006 pid=10965 comm="nm-applet ") interface="org.freedesktop.NetworkManager.Settings.Connection" member="GetSettings" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=170 comm="/usr/bin/NetworkManager --no-daemon ")
    Feb 01 17:14:14 localhost dbus[172]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.295" (uid=70006 pid=10965 comm="nm-applet ") interface="org.freedesktop.NetworkManager.Settings.Connection" member="GetSettings" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=170 comm="/usr/bin/NetworkManager --no-daemon ")
    /etc/pam.d/system-auth
    #%PAM-1.0
    auth required pam_env.so
    auth sufficient pam_unix.so try_first_pass nullok
    auth required pam_winbind.so use_first_pass use_authtok
    auth optional pam_permit.so
    account sufficient pam_unix.so
    account sufficient pam_winbind.so use_first_pass use_authtok
    account optional pam_permit.so
    account required pam_time.so
    password sufficient pam_unix.so try_first_pass nullok sha512 shadow
    password sufficient pam_winbind.so use_first_pass use_authtok
    password optional pam_permit.so
    session required pam_mkhomedir.so skel=/etc/skel/ umask=0022
    session required pam_limits.so
    session required pam_env.so
    session sufficient pam_unix.so
    session sufficient pam_winbind.so use_first_pass use_authtok
    session optional pam_permit.so
    /etc/samba/smb.conf
    security = domain
    netbios name = myarchlinux
    workgroup = DOMSMB
    winbind use default domain = yes
    template shell = /bin/bash
    template homedir = /home/%D/%U
    domain master = no
    winbind enum users = yes
    winbind enum groups = yes
    add machine script = /usr/sbin/useradd -s /bin/false -g 515 -M %u
    encrypt passwords = yes
    disable spoolss = yes
    winbind separator = +
    idmap config *:range = 70001-80000
    idmap config *:backend = tdb
    join command:
    net rpc join -U root
    lxde desktop
    Can you help me?
    Last edited by ReiserFS (2014-02-03 18:43:44)

    karol wrote:
    When posting configs, code or command output, please use [ code ] tags, not [ quote ] tags https://bbs.archlinux.org/help.php#bbcode
    like this
    It makes the code more readable and - in case of longer listings - more convenient to scroll through.
    OK. Thank you

  • Samba PDC quits working when password is changed.

    We are running Snow Leopard server and using the samba that comes installed with it as a PDC.  We have been wanting to enforce a more strict password policy; however, whenever I change my password on the server, Samba quits working properly and our windows PC's can no longer access the server.  If I set my password back to the original value, everything starts to work again.  The real strange thing is I have been able to change other users' passwords with no problem and all users including mine are part of the opendirectory.
    I have looked through the config files for samba and cannot see anything that references my user id so I cannot figure out for the life of me why changing my password breaks Samba.
    Does anyone have any clues?
    Thanks

    I am having the same issue.  I keep getting an error message when I enter the password for my Microsoft account and I do not see where there is a seperate password for Skype.  I hope some one answers this ASAP because I need to change both my photo and the primary email address.

Maybe you are looking for