sam_account 496 source3/auth/auth_util.c TALLOC_FREE(server_info->sam_account); sam_account 582 source3/auth/auth_util.c result->sam_account = sampass; sam_account 633 source3/auth/auth_util.c result->sam_account = NULL; /* Don't free on error exit. */ sam_account 726 source3/auth/auth_util.c pdb_get_user_sid(server_info->sam_account), sam_account 1167 source3/auth/auth_util.c result->sam_account = sampass; sam_account 1389 source3/auth/auth_util.c dst->sam_account = samu_new(NULL); sam_account 1390 source3/auth/auth_util.c if (!dst->sam_account) { sam_account 1395 source3/auth/auth_util.c if (!pdb_copy_sam_account(dst->sam_account, src->sam_account)) { sam_account 1627 source3/auth/auth_util.c struct samu *sam_account = NULL; sam_account 1679 source3/auth/auth_util.c if ( !(sam_account = samu_new( NULL )) ) { sam_account 1686 source3/auth/auth_util.c &found_username, &uid, &gid, sam_account, sam_account 1694 source3/auth/auth_util.c TALLOC_FREE( sam_account ); sam_account 1702 source3/auth/auth_util.c if (!pdb_set_nt_username(sam_account, nt_username, PDB_CHANGED)) { sam_account 1703 source3/auth/auth_util.c TALLOC_FREE(sam_account); sam_account 1707 source3/auth/auth_util.c if (!pdb_set_username(sam_account, nt_username, PDB_CHANGED)) { sam_account 1708 source3/auth/auth_util.c TALLOC_FREE(sam_account); sam_account 1712 source3/auth/auth_util.c if (!pdb_set_domain(sam_account, nt_domain, PDB_CHANGED)) { sam_account 1713 source3/auth/auth_util.c TALLOC_FREE(sam_account); sam_account 1717 source3/auth/auth_util.c if (!pdb_set_user_sid(sam_account, &user_sid, PDB_CHANGED)) { sam_account 1718 source3/auth/auth_util.c TALLOC_FREE(sam_account); sam_account 1722 source3/auth/auth_util.c if (!pdb_set_group_sid(sam_account, &group_sid, PDB_CHANGED)) { sam_account 1723 source3/auth/auth_util.c TALLOC_FREE(sam_account); sam_account 1727 source3/auth/auth_util.c if (!pdb_set_fullname(sam_account, sam_account 1730 source3/auth/auth_util.c TALLOC_FREE(sam_account); sam_account 1734 source3/auth/auth_util.c if (!pdb_set_logon_script(sam_account, sam_account 1737 source3/auth/auth_util.c TALLOC_FREE(sam_account); sam_account 1741 source3/auth/auth_util.c if (!pdb_set_profile_path(sam_account, sam_account 1744 source3/auth/auth_util.c TALLOC_FREE(sam_account); sam_account 1748 source3/auth/auth_util.c if (!pdb_set_homedir(sam_account, sam_account 1751 source3/auth/auth_util.c TALLOC_FREE(sam_account); sam_account 1755 source3/auth/auth_util.c if (!pdb_set_dir_drive(sam_account, sam_account 1758 source3/auth/auth_util.c TALLOC_FREE(sam_account); sam_account 1762 source3/auth/auth_util.c if (!pdb_set_acct_ctrl(sam_account, info3->base.acct_flags, PDB_CHANGED)) { sam_account 1763 source3/auth/auth_util.c TALLOC_FREE(sam_account); sam_account 1768 source3/auth/auth_util.c sam_account, sam_account 1771 source3/auth/auth_util.c TALLOC_FREE(sam_account); sam_account 1776 source3/auth/auth_util.c sam_account, sam_account 1779 source3/auth/auth_util.c TALLOC_FREE(sam_account); sam_account 1784 source3/auth/auth_util.c sam_account, sam_account 1787 source3/auth/auth_util.c TALLOC_FREE(sam_account); sam_account 1794 source3/auth/auth_util.c TALLOC_FREE(sam_account); sam_account 1801 source3/auth/auth_util.c result->sam_account = sam_account; sam_account 1879 source3/auth/auth_util.c struct samu *sam_account = NULL; sam_account 1941 source3/auth/auth_util.c if ( !(sam_account = samu_new( result )) ) { sam_account 1949 source3/auth/auth_util.c &found_username, &uid, &gid, sam_account, sam_account 1964 source3/auth/auth_util.c if (!pdb_set_nt_username(sam_account, nt_username, PDB_CHANGED)) { sam_account 1969 source3/auth/auth_util.c if (!pdb_set_username(sam_account, nt_username, PDB_CHANGED)) { sam_account 1974 source3/auth/auth_util.c if (!pdb_set_domain(sam_account, nt_domain, PDB_CHANGED)) { sam_account 1979 source3/auth/auth_util.c if (!pdb_set_user_sid(sam_account, &user_sid, PDB_CHANGED)) { sam_account 1984 source3/auth/auth_util.c if (!pdb_set_group_sid(sam_account, &group_sid, PDB_CHANGED)) { sam_account 1989 source3/auth/auth_util.c if (!pdb_set_fullname(sam_account, info->full_name, PDB_CHANGED)) { sam_account 1994 source3/auth/auth_util.c if (!pdb_set_logon_script(sam_account, info->logon_script, PDB_CHANGED)) { sam_account 1999 source3/auth/auth_util.c if (!pdb_set_profile_path(sam_account, info->profile_path, PDB_CHANGED)) { sam_account 2004 source3/auth/auth_util.c if (!pdb_set_homedir(sam_account, info->home_directory, PDB_CHANGED)) { sam_account 2009 source3/auth/auth_util.c if (!pdb_set_dir_drive(sam_account, info->home_drive, PDB_CHANGED)) { sam_account 2014 source3/auth/auth_util.c if (!pdb_set_acct_ctrl(sam_account, info->acct_flags, PDB_CHANGED)) { sam_account 2020 source3/auth/auth_util.c sam_account, sam_account 2028 source3/auth/auth_util.c sam_account, sam_account 2036 source3/auth/auth_util.c sam_account, sam_account 2046 source3/auth/auth_util.c result->sam_account = sam_account; sam_account 61 source3/include/auth.h struct samu *sam_account; sam_account 237 source3/lib/afs.c pdb_get_domain(conn->server_info->sam_account), sam_account 239 source3/libnet/libnet_samsync_passdb.c struct samu *sam_account=NULL; sam_account 250 source3/libnet/libnet_samsync_passdb.c if ( !(sam_account = samu_new(mem_ctx)) ) { sam_account 254 source3/libnet/libnet_samsync_passdb.c nt_ret = smb_create_user(sam_account, r->acct_flags, account, &passwd); sam_account 266 source3/libnet/libnet_samsync_passdb.c if (!pdb_getsampwsid(sam_account, &user_sid)) { sam_account 267 source3/libnet/libnet_samsync_passdb.c sam_account_from_delta(sam_account, r); sam_account 270 source3/libnet/libnet_samsync_passdb.c pdb_get_username(sam_account))); sam_account 271 source3/libnet/libnet_samsync_passdb.c if (!NT_STATUS_IS_OK(pdb_add_sam_account(sam_account))) { sam_account 277 source3/libnet/libnet_samsync_passdb.c sam_account_from_delta(sam_account, r); sam_account 280 source3/libnet/libnet_samsync_passdb.c pdb_get_username(sam_account))); sam_account 281 source3/libnet/libnet_samsync_passdb.c if (!NT_STATUS_IS_OK(pdb_update_sam_account(sam_account))) { sam_account 284 source3/libnet/libnet_samsync_passdb.c TALLOC_FREE(sam_account); sam_account 289 source3/libnet/libnet_samsync_passdb.c if (pdb_get_group_sid(sam_account) == NULL) { sam_account 293 source3/libnet/libnet_samsync_passdb.c group_sid = *pdb_get_group_sid(sam_account); sam_account 297 source3/libnet/libnet_samsync_passdb.c pdb_get_username(sam_account))); sam_account 302 source3/libnet/libnet_samsync_passdb.c (unsigned long)map.gid, pdb_get_username(sam_account), sid_string_tos(&group_sid))); sam_account 304 source3/libnet/libnet_samsync_passdb.c smb_set_primary_group(grp->gr_name, pdb_get_username(sam_account)); sam_account 311 source3/libnet/libnet_samsync_passdb.c pdb_get_username(sam_account))); sam_account 315 source3/libnet/libnet_samsync_passdb.c TALLOC_FREE(sam_account); sam_account 150 source3/modules/vfs_expand_msdfs.c pdb_get_domain(conn->server_info->sam_account), sam_account 789 source3/modules/vfs_full_audit.c pdb_get_domain(conn->server_info->sam_account), sam_account 439 source3/modules/vfs_recycle.c pdb_get_domain(conn->server_info->sam_account), sam_account 220 source3/modules/vfs_smb_traffic_analyzer.c pdb_get_domain(handle->conn->server_info->sam_account), sam_account 573 source3/passdb/passdb.c struct samu *sam_account = NULL; sam_account 576 source3/passdb/passdb.c if ( !(sam_account = samu_new( NULL )) ) { sam_account 581 source3/passdb/passdb.c ret = pdb_getsampwnam(sam_account, name); sam_account 585 source3/passdb/passdb.c sid_copy(&user_sid, pdb_get_user_sid(sam_account)); sam_account 588 source3/passdb/passdb.c TALLOC_FREE(sam_account); sam_account 1505 source3/passdb/pdb_interface.c struct samu *sam_account = NULL; sam_account 1520 source3/passdb/pdb_interface.c if ( !(sam_account = samu_new( NULL )) ) { sam_account 1526 source3/passdb/pdb_interface.c if (pdb_getsampwsid(sam_account, &sid)) { sam_account 1530 source3/passdb/pdb_interface.c *name = talloc_strdup(mem_ctx, pdb_get_username(sam_account)); sam_account 1532 source3/passdb/pdb_interface.c TALLOC_FREE(sam_account); sam_account 1538 source3/passdb/pdb_interface.c TALLOC_FREE(sam_account); sam_account 1552 source3/passdb/pdb_interface.c TALLOC_FREE(sam_account); sam_account 2476 source3/printing/printing.c pdb_get_domain(server_info->sam_account), sam_account 204 source3/rpc_client/init_netlogon.c sampw = server_info->sam_account; sam_account 1548 source3/rpc_server/srv_lsa_nt.c domname = pdb_get_domain(p->server_info->sam_account); sam_account 105 source3/smbd/lanman.c pdb_get_domain(conn->server_info->sam_account), sam_account 156 source3/smbd/lanman.c pdb_get_domain(conn->server_info->sam_account), sam_account 186 source3/smbd/lanman.c pdb_get_domain(conn->server_info->sam_account), sam_account 2627 source3/smbd/lanman.c if (NT_STATUS_IS_OK(change_oem_password(server_info->sam_account, pass1, pass2, False, NULL))) { sam_account 3136 source3/smbd/lanman.c pdb_get_domain(conn->server_info->sam_account), sam_account 3546 source3/smbd/lanman.c ? pdb_get_fullname(vuser->server_info->sam_account) sam_account 3558 source3/smbd/lanman.c vuser->server_info->sam_account); sam_account 3617 source3/smbd/lanman.c vuser->server_info->sam_account) : "", sam_account 3628 source3/smbd/lanman.c vuser->server_info->sam_account) : "", sam_account 3638 source3/smbd/lanman.c ? pdb_get_fullname(vuser->server_info->sam_account) sam_account 3786 source3/smbd/lanman.c vuser->server_info->sam_account) : ""); /* script path */ sam_account 264 source3/smbd/password.c pdb_get_domain(vuser->server_info->sam_account), sam_account 269 source3/smbd/password.c pdb_get_fullname(vuser->server_info->sam_account))); sam_account 312 source3/smbd/password.c pdb_get_domain(vuser->server_info->sam_account)); sam_account 1300 source3/smbd/process.c ->sam_account)); sam_account 589 source3/smbd/service.c pdb_get_domain(vuid_serverinfo->sam_account), sam_account 792 source3/smbd/service.c pdb_get_domain(conn->server_info->sam_account), sam_account 914 source3/smbd/service.c pdb_get_domain(conn->server_info->sam_account), sam_account 953 source3/smbd/service.c pdb_get_domain(conn->server_info->sam_account), sam_account 1253 source3/smbd/service.c pdb_get_domain(conn->server_info->sam_account), sam_account 1269 source3/smbd/service.c pdb_get_domain(conn->server_info->sam_account), sam_account 514 source3/smbd/sesssetup.c if (server_info->sam_account != NULL) { sam_account 515 source3/smbd/sesssetup.c pdb_set_domain(server_info->sam_account, sam_account 108 source3/smbd/uid.c pdb_get_domain(server_info->sam_account), sam_account 114 source3/smbd/uid.c pdb_get_domain(server_info->sam_account), sam_account 136 source3/smbd/uid.c pdb_get_domain(server_info->sam_account),