Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- freenas# mv /tmp/freenasldap.py .
- freenas# python /tmp/freenas-fix.py
- DUMPING LOCAL USERS
- pwd.struct_passwd(pw_name='root', pw_passwd='$1$MVfF8sor$Myk9EyeZxa3SQ.GvH2AlI0', pw_uid=0, pw_gid=0, pw_gecos='FreeNAS root', pw_dir='/root', pw_shell='/bin/csh')
- grp.struct_group(gr_name='wheel', gr_passwd='*', gr_gid=0, gr_mem=[])
- key = bsdusr_full_name, val = FreeNAS root
- key = bsdusr_username, val = root
- key = bsdusr_group_id, val = 1
- key = _state, val = <django.db.models.base.ModelState object at 0x804646610>
- key = bsdusr_uid, val = 0
- key = bsdusr_unixhash, val = $1$MVfF8sor$Myk9EyeZxa3SQ.GvH2AlI0
- key = bsdusr_shell, val = /bin/csh
- key = bsdusr_builtin, val = True
- key = bsdusr_home, val = /root
- key = bsdusr_smbhash, val = *
- key = id, val = 1
- DUMPING LOCAL USERS
- pwd.struct_passwd(pw_name='daemon', pw_passwd='*', pw_uid=1, pw_gid=1, pw_gecos='Owner of many system processes', pw_dir='/root', pw_shell='/usr/sbin/nologin')
- grp.struct_group(gr_name='daemon', gr_passwd='*', gr_gid=1, gr_mem=[])
- key = bsdusr_full_name, val = Owner of many system processes
- key = bsdusr_username, val = daemon
- key = bsdusr_group_id, val = 2
- key = _state, val = <django.db.models.base.ModelState object at 0x804646690>
- key = bsdusr_uid, val = 1
- key = bsdusr_unixhash, val = *
- key = bsdusr_shell, val = /usr/sbin/nologin
- key = bsdusr_builtin, val = True
- key = bsdusr_home, val = /root
- key = bsdusr_smbhash, val = *
- key = id, val = 2
- DUMPING LOCAL USERS
- pwd.struct_passwd(pw_name='operator', pw_passwd='*', pw_uid=2, pw_gid=5, pw_gecos='System &', pw_dir='/', pw_shell='/usr/sbin/nologin')
- grp.struct_group(gr_name='operator', gr_passwd='*', gr_gid=5, gr_mem=[])
- key = bsdusr_full_name, val = System &
- key = bsdusr_username, val = operator
- key = bsdusr_group_id, val = 6
- key = _state, val = <django.db.models.base.ModelState object at 0x804646710>
- key = bsdusr_uid, val = 2
- key = bsdusr_unixhash, val = *
- key = bsdusr_shell, val = /usr/sbin/nologin
- key = bsdusr_builtin, val = True
- key = bsdusr_home, val = /
- key = bsdusr_smbhash, val = *
- key = id, val = 3
- DUMPING LOCAL USERS
- pwd.struct_passwd(pw_name='bin', pw_passwd='*', pw_uid=3, pw_gid=7, pw_gecos='Binaries Commands and Source', pw_dir='/', pw_shell='/usr/sbin/nologin')
- grp.struct_group(gr_name='bin', gr_passwd='*', gr_gid=7, gr_mem=[])
- key = bsdusr_full_name, val = Binaries Commands and Source
- key = bsdusr_username, val = bin
- key = bsdusr_group_id, val = 8
- key = _state, val = <django.db.models.base.ModelState object at 0x804646790>
- key = bsdusr_uid, val = 3
- key = bsdusr_unixhash, val = *
- key = bsdusr_shell, val = /usr/sbin/nologin
- key = bsdusr_builtin, val = True
- key = bsdusr_home, val = /
- key = bsdusr_smbhash, val = *
- key = id, val = 4
- DUMPING LOCAL USERS
- pwd.struct_passwd(pw_name='tty', pw_passwd='*', pw_uid=4, pw_gid=65533, pw_gecos='Tty Sandbox', pw_dir='/', pw_shell='/usr/sbin/nologin')
- grp.struct_group(gr_name='nogroup', gr_passwd='*', gr_gid=65533, gr_mem=[])
- key = bsdusr_full_name, val = Tty Sandbox
- key = bsdusr_username, val = tty
- key = bsdusr_group_id, val = 28
- key = _state, val = <django.db.models.base.ModelState object at 0x804646810>
- key = bsdusr_uid, val = 4
- key = bsdusr_unixhash, val = *
- key = bsdusr_shell, val = /usr/sbin/nologin
- key = bsdusr_builtin, val = True
- key = bsdusr_home, val = /
- key = bsdusr_smbhash, val = *
- key = id, val = 5
- DUMPING LOCAL USERS
- pwd.struct_passwd(pw_name='kmem', pw_passwd='*', pw_uid=5, pw_gid=2, pw_gecos='KMem Sandbox', pw_dir='/', pw_shell='/usr/sbin/nologin')
- grp.struct_group(gr_name='kmem', gr_passwd='*', gr_gid=2, gr_mem=[])
- key = bsdusr_full_name, val = KMem Sandbox
- key = bsdusr_username, val = kmem
- key = bsdusr_group_id, val = 3
- key = _state, val = <django.db.models.base.ModelState object at 0x804646890>
- key = bsdusr_uid, val = 5
- key = bsdusr_unixhash, val = *
- key = bsdusr_shell, val = /usr/sbin/nologin
- key = bsdusr_builtin, val = True
- key = bsdusr_home, val = /
- key = bsdusr_smbhash, val = *
- key = id, val = 6
- DUMPING LOCAL USERS
- pwd.struct_passwd(pw_name='games', pw_passwd='*', pw_uid=7, pw_gid=13, pw_gecos='Games pseudo-user', pw_dir='/', pw_shell='/usr/sbin/nologin')
- grp.struct_group(gr_name='games', gr_passwd='*', gr_gid=13, gr_mem=[])
- key = bsdusr_full_name, val = Games pseudo-user
- key = bsdusr_username, val = games
- key = bsdusr_group_id, val = 11
- key = _state, val = <django.db.models.base.ModelState object at 0x804646910>
- key = bsdusr_uid, val = 7
- key = bsdusr_unixhash, val = *
- key = bsdusr_shell, val = /usr/sbin/nologin
- key = bsdusr_builtin, val = True
- key = bsdusr_home, val = /
- key = bsdusr_smbhash, val = *
- key = id, val = 7
- DUMPING LOCAL USERS
- pwd.struct_passwd(pw_name='news', pw_passwd='*', pw_uid=8, pw_gid=8, pw_gecos='News Subsystem', pw_dir='/', pw_shell='/usr/sbin/nologin')
- grp.struct_group(gr_name='news', gr_passwd='*', gr_gid=8, gr_mem=[])
- key = bsdusr_full_name, val = News Subsystem
- key = bsdusr_username, val = news
- key = bsdusr_group_id, val = 9
- key = _state, val = <django.db.models.base.ModelState object at 0x804646990>
- key = bsdusr_uid, val = 8
- key = bsdusr_unixhash, val = *
- key = bsdusr_shell, val = /usr/sbin/nologin
- key = bsdusr_builtin, val = True
- key = bsdusr_home, val = /
- key = bsdusr_smbhash, val = *
- key = id, val = 8
- DUMPING LOCAL USERS
- pwd.struct_passwd(pw_name='man', pw_passwd='*', pw_uid=9, pw_gid=9, pw_gecos='Mister Man Pages', pw_dir='/usr/share/man', pw_shell='/usr/sbin/nologin')
- grp.struct_group(gr_name='man', gr_passwd='*', gr_gid=9, gr_mem=[])
- key = bsdusr_full_name, val = Mister Man Pages
- key = bsdusr_username, val = man
- key = bsdusr_group_id, val = 10
- key = _state, val = <django.db.models.base.ModelState object at 0x804646a10>
- key = bsdusr_uid, val = 9
- key = bsdusr_unixhash, val = *
- key = bsdusr_shell, val = /usr/sbin/nologin
- key = bsdusr_builtin, val = True
- key = bsdusr_home, val = /usr/share/man
- key = bsdusr_smbhash, val = *
- key = id, val = 9
- DUMPING LOCAL USERS
- pwd.struct_passwd(pw_name='sshd', pw_passwd='*', pw_uid=22, pw_gid=22, pw_gecos='Secure Shell Daemon', pw_dir='/var/empty', pw_shell='/usr/sbin/nologin')
- grp.struct_group(gr_name='sshd', gr_passwd='*', gr_gid=22, gr_mem=[])
- key = bsdusr_full_name, val = Secure Shell Daemon
- key = bsdusr_username, val = sshd
- key = bsdusr_group_id, val = 14
- key = _state, val = <django.db.models.base.ModelState object at 0x804646a90>
- key = bsdusr_uid, val = 22
- key = bsdusr_unixhash, val = *
- key = bsdusr_shell, val = /usr/sbin/nologin
- key = bsdusr_builtin, val = True
- key = bsdusr_home, val = /var/empty
- key = bsdusr_smbhash, val = *
- key = id, val = 10
- DUMPING LOCAL USERS
- pwd.struct_passwd(pw_name='smmsp', pw_passwd='*', pw_uid=25, pw_gid=25, pw_gecos='Sendmail Submission User', pw_dir='/var/spool/clientmqueue', pw_shell='/usr/sbin/nologin')
- grp.struct_group(gr_name='smmsp', gr_passwd='*', gr_gid=25, gr_mem=[])
- key = bsdusr_full_name, val = Sendmail Submission User
- key = bsdusr_username, val = smmsp
- key = bsdusr_group_id, val = 15
- key = _state, val = <django.db.models.base.ModelState object at 0x804646b10>
- key = bsdusr_uid, val = 25
- key = bsdusr_unixhash, val = *
- key = bsdusr_shell, val = /usr/sbin/nologin
- key = bsdusr_builtin, val = True
- key = bsdusr_home, val = /var/spool/clientmqueue
- key = bsdusr_smbhash, val = *
- key = id, val = 11
- DUMPING LOCAL USERS
- pwd.struct_passwd(pw_name='mailnull', pw_passwd='*', pw_uid=26, pw_gid=26, pw_gecos='Sendmail Default User', pw_dir='/var/spool/mqueue', pw_shell='/usr/sbin/nologin')
- grp.struct_group(gr_name='mailnull', gr_passwd='*', gr_gid=26, gr_mem=[])
- key = bsdusr_full_name, val = Sendmail Default User
- key = bsdusr_username, val = mailnull
- key = bsdusr_group_id, val = 16
- key = _state, val = <django.db.models.base.ModelState object at 0x804646b90>
- key = bsdusr_uid, val = 26
- key = bsdusr_unixhash, val = *
- key = bsdusr_shell, val = /usr/sbin/nologin
- key = bsdusr_builtin, val = True
- key = bsdusr_home, val = /var/spool/mqueue
- key = bsdusr_smbhash, val = *
- key = id, val = 12
- DUMPING LOCAL USERS
- pwd.struct_passwd(pw_name='bind', pw_passwd='*', pw_uid=53, pw_gid=53, pw_gecos='Bind Sandbox', pw_dir='/', pw_shell='/usr/sbin/nologin')
- grp.struct_group(gr_name='bind', gr_passwd='*', gr_gid=53, gr_mem=[])
- key = bsdusr_full_name, val = Bind Sandbox
- key = bsdusr_username, val = bind
- key = bsdusr_group_id, val = 18
- key = _state, val = <django.db.models.base.ModelState object at 0x804646c10>
- key = bsdusr_uid, val = 53
- key = bsdusr_unixhash, val = *
- key = bsdusr_shell, val = /usr/sbin/nologin
- key = bsdusr_builtin, val = True
- key = bsdusr_home, val = /
- key = bsdusr_smbhash, val = *
- key = id, val = 13
- DUMPING LOCAL USERS
- pwd.struct_passwd(pw_name='proxy', pw_passwd='*', pw_uid=62, pw_gid=62, pw_gecos='Packet Filter pseudo-user', pw_dir='/nonexistent', pw_shell='/usr/sbin/nologin')
- grp.struct_group(gr_name='proxy', gr_passwd='*', gr_gid=62, gr_mem=[])
- key = bsdusr_full_name, val = Packet Filter pseudo-user
- key = bsdusr_username, val = proxy
- key = bsdusr_group_id, val = 19
- key = _state, val = <django.db.models.base.ModelState object at 0x804646c90>
- key = bsdusr_uid, val = 62
- key = bsdusr_unixhash, val = *
- key = bsdusr_shell, val = /usr/sbin/nologin
- key = bsdusr_builtin, val = True
- key = bsdusr_home, val = /nonexistent
- key = bsdusr_smbhash, val = *
- key = id, val = 14
- DUMPING LOCAL USERS
- pwd.struct_passwd(pw_name='_pflogd', pw_passwd='*', pw_uid=64, pw_gid=64, pw_gecos='pflogd privsep user', pw_dir='/var/empty', pw_shell='/usr/sbin/nologin')
- grp.struct_group(gr_name='_pflogd', gr_passwd='*', gr_gid=64, gr_mem=[])
- key = bsdusr_full_name, val = pflogd privsep user
- key = bsdusr_username, val = _pflogd
- key = bsdusr_group_id, val = 21
- key = _state, val = <django.db.models.base.ModelState object at 0x804646d10>
- key = bsdusr_uid, val = 64
- key = bsdusr_unixhash, val = *
- key = bsdusr_shell, val = /usr/sbin/nologin
- key = bsdusr_builtin, val = True
- key = bsdusr_home, val = /var/empty
- key = bsdusr_smbhash, val = *
- key = id, val = 15
- DUMPING LOCAL USERS
- pwd.struct_passwd(pw_name='_dhcp', pw_passwd='*', pw_uid=65, pw_gid=65, pw_gecos='dhcp programs', pw_dir='/var/empty', pw_shell='/usr/sbin/nologin')
- grp.struct_group(gr_name='_dhcp', gr_passwd='*', gr_gid=65, gr_mem=[])
- key = bsdusr_full_name, val = dhcp programs
- key = bsdusr_username, val = _dhcp
- key = bsdusr_group_id, val = 22
- key = _state, val = <django.db.models.base.ModelState object at 0x804646d90>
- key = bsdusr_uid, val = 65
- key = bsdusr_unixhash, val = *
- key = bsdusr_shell, val = /usr/sbin/nologin
- key = bsdusr_builtin, val = True
- key = bsdusr_home, val = /var/empty
- key = bsdusr_smbhash, val = *
- key = id, val = 16
- DUMPING LOCAL USERS
- pwd.struct_passwd(pw_name='uucp', pw_passwd='*', pw_uid=66, pw_gid=66, pw_gecos='UUCP pseudo-user', pw_dir='/var/spool/uucppublic', pw_shell='/usr/local/libexec/uucp/uucico')
- grp.struct_group(gr_name='uucp', gr_passwd='*', gr_gid=66, gr_mem=[])
- key = bsdusr_full_name, val = UUCP pseudo-user
- key = bsdusr_username, val = uucp
- key = bsdusr_group_id, val = 23
- key = _state, val = <django.db.models.base.ModelState object at 0x804646e10>
- key = bsdusr_uid, val = 66
- key = bsdusr_unixhash, val = *
- key = bsdusr_shell, val = /usr/local/libexec/uucp/uucico
- key = bsdusr_builtin, val = True
- key = bsdusr_home, val = /var/spool/uucppublic
- key = bsdusr_smbhash, val = *
- key = id, val = 17
- DUMPING LOCAL USERS
- pwd.struct_passwd(pw_name='pop', pw_passwd='*', pw_uid=68, pw_gid=6, pw_gecos='Post Office Owner', pw_dir='/nonexistent', pw_shell='/usr/sbin/nologin')
- grp.struct_group(gr_name='mail', gr_passwd='*', gr_gid=6, gr_mem=[])
- key = bsdusr_full_name, val = Post Office Owner
- key = bsdusr_username, val = pop
- key = bsdusr_group_id, val = 7
- key = _state, val = <django.db.models.base.ModelState object at 0x804646e90>
- key = bsdusr_uid, val = 68
- key = bsdusr_unixhash, val = *
- key = bsdusr_shell, val = /usr/sbin/nologin
- key = bsdusr_builtin, val = True
- key = bsdusr_home, val = /nonexistent
- key = bsdusr_smbhash, val = *
- key = id, val = 18
- DUMPING LOCAL USERS
- pwd.struct_passwd(pw_name='www', pw_passwd='*', pw_uid=80, pw_gid=80, pw_gecos='World Wide Web Owner', pw_dir='/nonexistent', pw_shell='/usr/sbin/nologin')
- grp.struct_group(gr_name='www', gr_passwd='*', gr_gid=80, gr_mem=[])
- key = bsdusr_full_name, val = World Wide Web Owner
- key = bsdusr_username, val = www
- key = bsdusr_group_id, val = 27
- key = _state, val = <django.db.models.base.ModelState object at 0x804646f10>
- key = bsdusr_uid, val = 80
- key = bsdusr_unixhash, val = *
- key = bsdusr_shell, val = /usr/sbin/nologin
- key = bsdusr_builtin, val = True
- key = bsdusr_home, val = /nonexistent
- key = bsdusr_smbhash, val = *
- key = id, val = 19
- DUMPING LOCAL USERS
- pwd.struct_passwd(pw_name='nobody', pw_passwd='*', pw_uid=65534, pw_gid=65534, pw_gecos='Unprivileged user', pw_dir='/nonexistent', pw_shell='/usr/sbin/nologin')
- grp.struct_group(gr_name='nobody', gr_passwd='*', gr_gid=65534, gr_mem=[])
- key = bsdusr_full_name, val = Unprivileged user
- key = bsdusr_username, val = nobody
- key = bsdusr_group_id, val = 29
- key = _state, val = <django.db.models.base.ModelState object at 0x804646f90>
- key = bsdusr_uid, val = 65534
- key = bsdusr_unixhash, val = *
- key = bsdusr_shell, val = /usr/sbin/nologin
- key = bsdusr_builtin, val = True
- key = bsdusr_home, val = /nonexistent
- key = bsdusr_smbhash, val = *
- key = id, val = 20
- DUMPING LOCAL USERS
- pwd.struct_passwd(pw_name='harold', pw_passwd='$1$zCdiZ0U/$7xqdKvJa79HYVDn8ndWbD0', pw_uid=1001, pw_gid=1001, pw_gecos='Harold Kyle', pw_dir='/nonexistent', pw_shell='/usr/local/bin/bash')
- grp.struct_group(gr_name='harold', gr_passwd='*', gr_gid=1001, gr_mem=[])
- key = bsdusr_full_name, val = Harold Kyle
- key = bsdusr_username, val = harold
- key = bsdusr_group_id, val = 30
- key = _state, val = <django.db.models.base.ModelState object at 0x804647050>
- key = bsdusr_uid, val = 1001
- key = bsdusr_unixhash, val = $1$zCdiZ0U/$7xqdKvJa79HYVDn8ndWbD0
- key = bsdusr_shell, val = /usr/local/bin/bash
- key = bsdusr_builtin, val = False
- key = bsdusr_home, val = /nonexistent
- key = bsdusr_smbhash, val = debug_parse_params: unrecognized debug class name or format [True]
- key = id, val = 21
- DUMPING LOCAL USERS
- pwd.struct_passwd(pw_name='office', pw_passwd='$1$Xq8B7F9r$id/Sv7Az1Hvbm5GGoLnQz0', pw_uid=1002, pw_gid=1002, pw_gecos='Office employees', pw_dir='/nonexistent', pw_shell='/usr/local/bin/bash')
- grp.struct_group(gr_name='office', gr_passwd='*', gr_gid=1002, gr_mem=[])
- key = bsdusr_full_name, val = Office employees
- key = bsdusr_username, val = office
- key = bsdusr_group_id, val = 31
- key = _state, val = <django.db.models.base.ModelState object at 0x8046470d0>
- key = bsdusr_uid, val = 1002
- key = bsdusr_unixhash, val = $1$Xq8B7F9r$id/Sv7Az1Hvbm5GGoLnQz0
- key = bsdusr_shell, val = /usr/local/bin/bash
- key = bsdusr_builtin, val = False
- key = bsdusr_home, val = /nonexistent
- key = bsdusr_smbhash, val = debug_parse_params: unrecognized debug class name or format [True]
- key = id, val = 22
- DUMPING LOCAL USERS
- pwd.struct_passwd(pw_name='brian', pw_passwd='*', pw_uid=1060, pw_gid=513, pw_gecos='brian pribis', pw_dir='/nonexistent', pw_shell='/usr/local/bin/bash')
- grp.struct_group(gr_name='brian', gr_passwd='*', gr_gid=513, gr_mem=[])
- key = bsdusr_full_name, val = brian pribis
- key = bsdusr_username, val = brian
- key = bsdusr_group_id, val = 32
- key = _state, val = <django.db.models.base.ModelState object at 0x804647150>
- key = bsdusr_uid, val = 1060
- key = bsdusr_unixhash, val = *
- key = bsdusr_shell, val = /usr/local/bin/bash
- key = bsdusr_builtin, val = False
- key = bsdusr_home, val = /nonexistent
- key = bsdusr_smbhash, val = brian:1060:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:9B311EFEF5488D1051416A59BB109160:[U ]:LCT-4D932A5E:
- key = id, val = 23
- host = 172.16.15.130
- basedn = ou=groups,dc=bxcp2u,dc=local
- ('cn=bxcp2u,ou=groups,dc=bxcp2u,dc=local', {'cn': ['example', 'bxcp2u']})
- trying to get a group entry for cn = example
- creating a new group structure for 10000
- ('cn=Domain Admins,ou=groups,dc=bxcp2u,dc=local', {'cn': ['Domain Admins']})
- trying to get a group entry for cn = Domain Admins
- creating a new group structure for 512
- ('cn=Domain Users,ou=groups,dc=bxcp2u,dc=local', {'cn': ['Domain Users']})
- trying to get a group entry for cn = Domain Users
- creating a new group structure for 513
- ('cn=Domain Guests,ou=groups,dc=bxcp2u,dc=local', {'cn': ['Domain Guests']})
- trying to get a group entry for cn = Domain Guests
- creating a new group structure for 514
- ('cn=Domain Computers,ou=groups,dc=bxcp2u,dc=local', {'cn': ['Domain Computers']})
- trying to get a group entry for cn = Domain Computers
- creating a new group structure for 515
- ('cn=Administrators,ou=groups,dc=bxcp2u,dc=local', {'cn': ['Administrators']})
- trying to get a group entry for cn = Administrators
- creating a new group structure for 544
- ('cn=Account Operators,ou=groups,dc=bxcp2u,dc=local', {'cn': ['Account Operators']})
- trying to get a group entry for cn = Account Operators
- creating a new group structure for 548
- ('cn=Print Operators,ou=groups,dc=bxcp2u,dc=local', {'cn': ['Print Operators']})
- trying to get a group entry for cn = Print Operators
- creating a new group structure for 550
- ('cn=Backup Operators,ou=groups,dc=bxcp2u,dc=local', {'cn': ['Backup Operators']})
- trying to get a group entry for cn = Backup Operators
- creating a new group structure for 551
- ('cn=Replicators,ou=groups,dc=bxcp2u,dc=local', {'cn': ['Replicators']})
- trying to get a group entry for cn = Replicators
- creating a new group structure for 552
- ('cn=designers,ou=groups,dc=bxcp2u,dc=local', {'cn': ['designers']})
- trying to get a group entry for cn = designers
- creating a new group structure for 1002
- ('cn=coordinator,ou=groups,dc=bxcp2u,dc=local', {'cn': ['coordinator']})
- trying to get a group entry for cn = coordinator
- creating a new group structure for 1004
- ('cn=management,ou=groups,dc=bxcp2u,dc=local', {'cn': ['management']})
- trying to get a group entry for cn = management
- creating a new group structure for 1005
- ('cn=production,ou=groups,dc=bxcp2u,dc=local', {'cn': ['production']})
- trying to get a group entry for cn = production
- creating a new group structure for 1006
- ('cn=marketing,ou=groups,dc=bxcp2u,dc=local', {'cn': ['marketing']})
- trying to get a group entry for cn = marketing
- creating a new group structure for 1007
- ('cn=accounting,ou=groups,dc=bxcp2u,dc=local', {'cn': ['accounting']})
- trying to get a group entry for cn = accounting
- creating a new group structure for 1008
- ('cn=platemaking,ou=groups,dc=bxcp2u,dc=local', {'cn': ['platemaking']})
- trying to get a group entry for cn = platemaking
- creating a new group structure for 1009
- ('cn=downieville,ou=groups,dc=bxcp2u,dc=local', {'cn': ['downieville']})
- trying to get a group entry for cn = downieville
- creating a new group structure for 1010
- ('cn=owner,ou=groups,dc=bxcp2u,dc=local', {'cn': ['owner']})
- trying to get a group entry for cn = owner
- creating a new group structure for 1011
- pwd.struct_passwd(pw_name='root', pw_passwd='$1$MVfF8sor$Myk9EyeZxa3SQ.GvH2AlI0', pw_uid=0, pw_gid=0, pw_gecos='FreeNAS root', pw_dir='/root', pw_shell='/bin/csh')
- <type 'int'>
- DUMPING GROUP KEYS
- key = 1002, type(key) = <type 'str'>
- key = 10000, type(key) = <type 'str'>
- key = 1009, type(key) = <type 'str'>
- key = 1004, type(key) = <type 'str'>
- key = 1005, type(key) = <type 'str'>
- key = 1010, type(key) = <type 'str'>
- key = 551, type(key) = <type 'str'>
- key = 550, type(key) = <type 'str'>
- key = 552, type(key) = <type 'str'>
- key = 1011, type(key) = <type 'str'>
- key = 548, type(key) = <type 'str'>
- key = 544, type(key) = <type 'str'>
- key = 1008, type(key) = <type 'str'>
- key = 1007, type(key) = <type 'str'>
- key = 1006, type(key) = <type 'str'>
- key = 513, type(key) = <type 'str'>
- key = 512, type(key) = <type 'str'>
- key = 515, type(key) = <type 'str'>
- key = 514, type(key) = <type 'str'>
- Traceback (most recent call last):
- File "/tmp/freenas-fix.py", line 20, in <module>
- from freenasUI.common.freenasldap import *
- File "/usr/local/www/freenasUI/common/freenasldap.py", line 894, in <module>
- USER_CHOICES = ((x.bsdusr_username, x.bsdusr_username) for x in FreeNAS_Users())
- File "/usr/local/www/freenasUI/common/freenasldap.py", line 423, in __init__
- ldap_users = self.__get_ldap_users()
- File "/usr/local/www/freenasUI/common/freenasldap.py", line 509, in __get_ldap_users
- bu.bsdusr_group = ldap_groups[str(pw.pw_gid)]
- KeyError: '0'
- freenas#
Add Comment
Please, Sign In to add comment